diff options
Diffstat (limited to 'config/android.config')
-rw-r--r-- | config/android.config | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/android.config b/config/android.config index cff518fe..8bb2421b 100644 --- a/config/android.config +++ b/config/android.config @@ -36,7 +36,7 @@ ccache = use_ccache and 'ccache ' or '' # Toolchain environment os.environ['CPPFLAGS'] = "--sysroot=%s -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -DANDROID -DPIC -I%s/usr/include" % (sysroot, sysroot) os.environ['CFLAGS'] += "--sysroot=%s -fPIC -DPIC -ffunction-sections -funwind-tables -fstack-protector -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -march=armv5te -mtune=xscale -msoft-float -mthumb -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -DANDROID -Wa,--noexecstack -I%s/usr/include" % (sysroot, sysroot) -os.environ['LDFLAGS'] = "--sysroot=%s -fPIC -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,nocopyreloc -Wl,-dynamic-linker,/system/bin/linker -L%s/usr/lib %s" % (sysroot, sysroot, os.environ.get('LDFLAGS', '')) +os.environ['LDFLAGS'] = "--sysroot=%s -fPIC -Wl,--no-undefined -Wl,--allow-shlib-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,nocopyreloc -Wl,-dynamic-linker,/system/bin/linker -L%s/usr/lib %s" % (sysroot, sysroot, os.environ.get('LDFLAGS', '')) os.environ['CXXFLAGS']=os.environ['CFLAGS'] def cmd(command): @@ -62,3 +62,6 @@ os.environ['ac_cv_func_posix_getpwuid_r'] = 'no' os.environ['ac_cv_func_nonposix_getpwuid_r'] = 'no' os.environ['ac_cv_func_posix_getgrgid_r'] = 'no' os.environ['ac_cv_func_nonposix_getgrgid_r'] = 'no' + +# For pixman +os.environ['ac_cv_tls'] = 'none' |