summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2022-05-27 23:10:15 +0100
committerJohn-Mark Bell <jmb@netsurf-browser.org>2022-05-27 23:10:15 +0100
commit2c28cd73e55b80b358ec008d07ff0cae310e96d6 (patch)
tree069d835c097a6e80c883843cafbd2e85831741d0
parent2549a2d898f96e636f6052f2017824ec42186da3 (diff)
downloadtoolchains-2c28cd73e55b80b358ec008d07ff0cae310e96d6.tar.gz
toolchains-2c28cd73e55b80b358ec008d07ff0cae310e96d6.tar.bz2
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.
-rw-r--r--sdk/recipes/patches/openssl/crypto.arm_arch.h.p11
1 files changed, 11 insertions, 0 deletions
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