mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-06 14:39:40 +00:00
Configurations: Fix "android" configuration target
This target gave '-pie' as a C flag when it should be a linker flag. Additionally, we add '-fPIE' as C flag for binaries. Fixes #11237 Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11238)
This commit is contained in:
parent
99ffd5ade5
commit
ca50d69cfe
@ -168,7 +168,8 @@ my %targets = (
|
|||||||
cppflags => add(sub { android_ndk()->{cppflags} }),
|
cppflags => add(sub { android_ndk()->{cppflags} }),
|
||||||
cxxflags => add(sub { android_ndk()->{cflags} }),
|
cxxflags => add(sub { android_ndk()->{cflags} }),
|
||||||
bn_ops => sub { android_ndk()->{bn_ops} },
|
bn_ops => sub { android_ndk()->{bn_ops} },
|
||||||
bin_cflags => "-pie",
|
bin_cflags => "-fPIE",
|
||||||
|
bin_lflags => "-pie",
|
||||||
enable => [ ],
|
enable => [ ],
|
||||||
},
|
},
|
||||||
"android-arm" => {
|
"android-arm" => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user