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

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