summaryrefslogtreecommitdiffstats
path: root/core/clang
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-05-09 17:02:10 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-09 17:02:10 +0000
commita01cb05450c6435c9cdca58534ed00eafb07f6eb (patch)
treebd24976580a2327a3310b6246a800680d002c010 /core/clang
parent96e487b262c2d5d7c02d49e29e71895588e15549 (diff)
parentc581e10a2b6f54e6f6b24dbd3e5fb10cdf3c77eb (diff)
downloadbuild-a01cb05450c6435c9cdca58534ed00eafb07f6eb.zip
build-a01cb05450c6435c9cdca58534ed00eafb07f6eb.tar.gz
build-a01cb05450c6435c9cdca58534ed00eafb07f6eb.tar.bz2
am c581e10a: am eca0043b: Merge "Disable canonical prefixes of system headers"
* commit 'c581e10a2b6f54e6f6b24dbd3e5fb10cdf3c77eb': 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 b8f76f2..c598e7d 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 :=