summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2019-01-19 01:57:25 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2019-01-22 06:50:02 +0000
commit25f5d9f74f2abe9c1ad51ad74cf493af59217ea2 (patch)
tree10872a72a4453507abef677fb2975ab6512b9ade /config
parent6f629c443271132e35faa9990e0f86e00a534fea (diff)
android.config: Remove duplicate compiler flags
-target and --sysroot are already defined.
Diffstat (limited to '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 5d0448ee..0bbdbbba 100644
--- a/config/android.config
+++ b/config/android.config
@@ -131,7 +131,7 @@ ccache = use_ccache and 'ccache ' or ''
defines = '-DANDROID -DPIC -D__ANDROID_API__=%s ' % (v)
# -fno-integrated-as cause some libraries (e.g. pixman) fail to build with
# clang's assembler
-cflags = '-target %s --sysroot %s -gcc-toolchain %s -isysroot %s -isystem %s -isystem %s/usr/include -isystem %s/usr/include/%s -fno-integrated-as -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fPIC -Wno-invalid-command-line-argument -Wno-unused-command-line-argument ' % (llvm_triple, sysroot, gcc_toolchain_root, isysroot, incl_dir, isysroot, isysroot, tools_prefix)
+cflags = '-gcc-toolchain %s -isysroot %s -isystem %s -isystem %s/usr/include -isystem %s/usr/include/%s -fno-integrated-as -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fPIC -Wno-invalid-command-line-argument -Wno-unused-command-line-argument ' % (gcc_toolchain_root, isysroot, incl_dir, isysroot, isysroot, tools_prefix)
# http://b.android.com/220159 http://b.android.com/222239
if target_arch == Architecture.X86: