Blame SOURCES/0019-Cryptlib-fix-build-on-32bit-ARM.patch

d84fc6
From ee832f21c6706d6b3890d82f9d8bcb2bd249ee04 Mon Sep 17 00:00:00 2001
d84fc6
From: Peter Korsgaard <peter@korsgaard.com>
d84fc6
Date: Fri, 11 Jan 2019 09:17:42 +0100
d84fc6
Subject: [PATCH 19/62] Cryptlib: fix build on 32bit ARM
d84fc6
d84fc6
Pass MDE_CPU_ARM, similar to how it is done for the other supported
d84fc6
architectures, otherwise the build fails in:
d84fc6
d84fc6
Cryptlib/Include/OpenSslSupport.h:55:2: error:
d84fc6
 #error Unknown target architecture
d84fc6
d84fc6
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
d84fc6
Upstream-commit-id: cb83c14628b
d84fc6
---
d84fc6
 Cryptlib/Makefile | 3 +++
d84fc6
 1 file changed, 3 insertions(+)
d84fc6
d84fc6
diff --git a/Cryptlib/Makefile b/Cryptlib/Makefile
d84fc6
index 2aa569594a0..5c098f34cec 100644
d84fc6
--- a/Cryptlib/Makefile
d84fc6
+++ b/Cryptlib/Makefile
d84fc6
@@ -19,6 +19,9 @@ endif
d84fc6
 ifeq ($(ARCH),aarch64)
d84fc6
 	CFLAGS	+= -DMDE_CPU_AARCH64
d84fc6
 endif
d84fc6
+ifeq ($(ARCH),arm)
d84fc6
+	CFLAGS	+= -DMDE_CPU_ARM
d84fc6
+endif
d84fc6
 LDFLAGS		= -nostdlib -znocombreloc
d84fc6
 
d84fc6
 TARGET		= libcryptlib.a
d84fc6
-- 
d84fc6
2.26.2
d84fc6