configure: Force pie for Android.

Position-independent executables are required since Lollipop.

Reported-by: Mohammed Bey Ahmed Khernache
pull/349/head
Carl Eugen Hoyos 7 years ago
parent 81a18f219e
commit d01d46ad86
  1. 2
      configure

2
configure vendored

@ -5049,6 +5049,8 @@ case $target_os in
android)
disable symver
enable section_data_rel_ro
add_cflags -fPIE
add_ldexeflags -fPIE -pie
SLIB_INSTALL_NAME='$(SLIBNAME)'
SLIB_INSTALL_LINKS=
SHFLAGS='-shared -Wl,-soname,$(SLIBNAME)'

Loading…
Cancel
Save