summaryrefslogtreecommitdiff
path: root/config/android.config
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-08-21 12:23:02 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-08-21 12:23:02 +0200
commit6e64198c0adc3e2a5495876b94966da660d28ecd (patch)
tree2e2afe04df201feacdb332d38cea1581fe87380c /config/android.config
parent659522d44157590de2847f1a3793a555f8c70990 (diff)
Update Android config and add a sample cerbero config for Android
Diffstat (limited to 'config/android.config')
-rw-r--r--config/android.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/android.config b/config/android.config
index 721e991..00f5434 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 -I%s/usr/include" % (sysroot, sysroot)
os.environ['CFLAGS'] += "--sysroot=%s -fPIC -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 -L%s/usr/lib %s" % (sysroot, sysroot, os.environ.get('LDFLAGS', ''))
+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['CXXFLAGS']=os.environ['CFLAGS']
def cmd(command):