diff options
Diffstat (limited to 'system/openssl/ppc-auxv.patch')
-rw-r--r-- | system/openssl/ppc-auxv.patch | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/system/openssl/ppc-auxv.patch b/system/openssl/ppc-auxv.patch index e19d8df1f..a22ef83c2 100644 --- a/system/openssl/ppc-auxv.patch +++ b/system/openssl/ppc-auxv.patch @@ -1,6 +1,6 @@ ---- openssl-1.1.1e/crypto/ppccap.c.old 2020-03-17 14:31:17.000000000 +0000 -+++ openssl-1.1.1e/crypto/ppccap.c 2020-03-30 06:32:25.943988524 +0000 -@@ -207,11 +207,9 @@ +--- a/crypto/ppccap.c ++++ b/crypto/ppccap.c +@@ -207,17 +207,9 @@ return 0; } @@ -8,10 +8,16 @@ -# if __GLIBC_PREREQ(2, 16) -# include <sys/auxv.h> -# define OSSL_IMPLEMENT_GETAUXVAL +-# elif defined(__ANDROID_API__) +-/* see https://developer.android.google.cn/ndk/guides/cpu-features */ +-# if __ANDROID_API__ >= 18 +-# include <sys/auxv.h> +-# define OSSL_IMPLEMENT_GETAUXVAL +-# endif -# endif +#if defined(__linux__) +# include <sys/auxv.h> +# define OSSL_IMPLEMENT_GETAUXVAL #endif - /* I wish <sys/auxv.h> was universally available */ + #if defined(__FreeBSD__) |