]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Test OpenSSL -pie changes 181/head
authorJeffrey Walton <noloader@gmail.com>
Tue, 3 Mar 2020 21:25:25 +0000 (16:25 -0500)
committerJeffrey Walton <noloader@gmail.com>
Tue, 3 Mar 2020 21:25:25 +0000 (16:25 -0500)
See https://github.com/openssl/openssl/issues/11237

contrib/android/15-android.conf

index a4a840eb5b9030e3908e30eb09b25ab530b93ae0..5e132e8168759f4d362755cfb31f4e1ff20e8c31 100644 (file)
@@ -9,8 +9,6 @@
     my $android_ndk = {};
     my %triplet = (
         arm     => "arm-linux-androideabi",
-        armeabi => "arm-linux-androideabi",
-        armv7a  => "arm-linux-androideabi",
         arm64   => "aarch64-linux-android",
         x86     => "i686-linux-android",
         x86_64  => "x86_64-linux-android"
@@ -150,15 +148,12 @@ my %targets = (
     "android" => {
         inherit_from     => [ "linux-generic32" ],
         template         => 1,
-        ################################################################
-        # Special note about -pie. The underlying reason is that
-        # Lollipop refuses to run non-PIE. But what about older systems
-        # and NDKs? -fPIC was never problem, so the only concern is -pie.
         cflags           => add(sub { android_ndk()->{cflags} }),
         cppflags         => add(sub { android_ndk()->{cppflags} }),
         cxxflags         => add(sub { android_ndk()->{cflags} }),
         bn_ops           => sub { android_ndk()->{bn_ops} },
-        bin_cflags       => "-pie",
+        bin_cflags       => "-fPIE",
+        bin_lflags       => "-pie",
         enable           => [ ],
     },
     "android-arm" => {