From 2c28cd73e55b80b358ec008d07ff0cae310e96d6 Mon Sep 17 00:00:00 2001 From: John-Mark Bell Date: Fri, 27 May 2022 23:10:15 +0100 Subject: OpenSSL: make it tolerate ARMv3 We still build for ARMv3 by default, but we also do not build any of the optimised assembler implementations. Thus, we can do the bare minimum here and teach the header file what ARMv3 is without updating any of the implementations to cope. --- sdk/recipes/patches/openssl/crypto.arm_arch.h.p | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sdk/recipes/patches/openssl/crypto.arm_arch.h.p diff --git a/sdk/recipes/patches/openssl/crypto.arm_arch.h.p b/sdk/recipes/patches/openssl/crypto.arm_arch.h.p new file mode 100644 index 0000000..093e4de --- /dev/null +++ b/sdk/recipes/patches/openssl/crypto.arm_arch.h.p @@ -0,0 +1,11 @@ +--- crypto/arm_arch.h 2015-07-09 12:21:24.000000000 +0000 ++++ crypto/arm_arch.h 2015-11-13 13:47:02.386910047 +0000 +@@ -51,6 +51,8 @@ + # define __ARM_ARCH__ 5 + # elif defined(__ARM_ARCH_4__) || defined(__ARM_ARCH_4T__) + # define __ARM_ARCH__ 4 ++# elif defined(__ARM_ARCH_3__) ++# define __ARM_ARCH__ 3 + # else + # error "unsupported ARM architecture" + # endif -- cgit v1.2.3