Browse Source

configure: Force pie for Android.

Position-independent executables are required since Lollipop.

Reported-by: Mohammed Bey Ahmed Khernache
tags/n4.1
Carl Eugen Hoyos 6 years ago
parent
commit
d01d46ad86
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      configure

+ 2
- 0
configure View File

@@ -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