summaryrefslogblamecommitdiff
path: root/system/openssl/ppc-auxv.patch
blob: a22ef83c243fc145a4ab480222d23809f4e18005 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                     






                                                  





                                                                      





                                  
                         
--- a/crypto/ppccap.c
+++ b/crypto/ppccap.c
@@ -207,17 +207,9 @@
         return 0;
 }
 
-#if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
-# 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
 
 #if defined(__FreeBSD__)