summaryrefslogtreecommitdiffstats
path: root/core/clang
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-05-09 17:06:54 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-09 17:06:54 +0000
commit9604c0680fba667f1f73fa62aea8ff22f9f13689 (patch)
treed6fdae82b75e7e2c4b8cbc337322567beab948d2 /core/clang
parent38e49504efe2b52195eca19da63e000c2eceed0d (diff)
parenta01cb05450c6435c9cdca58534ed00eafb07f6eb (diff)
downloadbuild-9604c0680fba667f1f73fa62aea8ff22f9f13689.zip
build-9604c0680fba667f1f73fa62aea8ff22f9f13689.tar.gz
build-9604c0680fba667f1f73fa62aea8ff22f9f13689.tar.bz2
am a01cb054: am c581e10a: am eca0043b: Merge "Disable canonical prefixes of system headers"
* commit 'a01cb05450c6435c9cdca58534ed00eafb07f6eb': Disable canonical prefixes of system headers
Diffstat (limited to 'core/clang')
-rw-r--r--core/clang/config.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/clang/config.mk b/core/clang/config.mk
index 7498ee3..c0be37a 100644
--- a/core/clang/config.mk
+++ b/core/clang/config.mk
@@ -31,7 +31,8 @@ CLANG_CONFIG_UNKNOWN_CFLAGS := \
-funswitch-loops \
-Wno-psabi \
-Wno-unused-but-set-variable \
- -Wno-unused-but-set-parameter
+ -Wno-unused-but-set-parameter \
+ -fno-canonical-system-headers
# Clang flags for all host rules
CLANG_CONFIG_HOST_EXTRA_ASFLAGS :=