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

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