summaryrefslogblamecommitdiff
path: root/system/openssl/ppc-auxv.patch
blob: e19d8df1f97c19f0488e81ab13a5a3fa630b2a25 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17















                                                                           
--- 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 @@
         return 0;
 }
 
-#if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
-# if __GLIBC_PREREQ(2, 16)
-#  include <sys/auxv.h>
-#  define OSSL_IMPLEMENT_GETAUXVAL
-# endif
+#if defined(__linux__)
+# include <sys/auxv.h>
+# define OSSL_IMPLEMENT_GETAUXVAL
 #endif
 
 /* I wish <sys/auxv.h> was universally available */