diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2022-05-27 23:10:15 +0100 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2022-05-27 23:10:15 +0100 |
commit | 2c28cd73e55b80b358ec008d07ff0cae310e96d6 (patch) | |
tree | 069d835c097a6e80c883843cafbd2e85831741d0 /sdk/recipes/patches/openssl | |
parent | 2549a2d898f96e636f6052f2017824ec42186da3 (diff) | |
download | toolchains-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.
Diffstat (limited to 'sdk/recipes/patches/openssl')
-rw-r--r-- | sdk/recipes/patches/openssl/crypto.arm_arch.h.p | 11 |
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 |