Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGS

Add some more gcc specific flags that are used somewhere in the tree
(e.g. external/chromium_org) to CLANG_CONFIG_UNKNOWN_CFLAGS

Change-Id: Icc572fdb6ea4ba818c4d18e430296589eb61bf55
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
This commit is contained in:
Bernhard Rosenkraenzer 2014-05-12 16:05:14 +02:00
parent fb67f05d3d
commit d6e11825c4
1 changed files with 5 additions and 0 deletions

View File

@ -29,9 +29,14 @@ CLANG_CONFIG_EXTRA_CFLAGS := \
CLANG_CONFIG_UNKNOWN_CFLAGS := \
-funswitch-loops \
-fno-tree-sra \
-finline-limit=64 \
-Wno-psabi \
-Wno-unused-but-set-variable \
-Wno-unused-but-set-parameter \
-Wmaybe-uninitialized \
-Wno-maybe-uninitialized \
-Wno-error=maybe-uninitialized \
-fno-canonical-system-headers
# Clang flags for all host rules