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:
@@ -29,9 +29,14 @@ CLANG_CONFIG_EXTRA_CFLAGS := \
|
|||||||
|
|
||||||
CLANG_CONFIG_UNKNOWN_CFLAGS := \
|
CLANG_CONFIG_UNKNOWN_CFLAGS := \
|
||||||
-funswitch-loops \
|
-funswitch-loops \
|
||||||
|
-fno-tree-sra \
|
||||||
|
-finline-limit=64 \
|
||||||
-Wno-psabi \
|
-Wno-psabi \
|
||||||
-Wno-unused-but-set-variable \
|
-Wno-unused-but-set-variable \
|
||||||
-Wno-unused-but-set-parameter \
|
-Wno-unused-but-set-parameter \
|
||||||
|
-Wmaybe-uninitialized \
|
||||||
|
-Wno-maybe-uninitialized \
|
||||||
|
-Wno-error=maybe-uninitialized \
|
||||||
-fno-canonical-system-headers
|
-fno-canonical-system-headers
|
||||||
|
|
||||||
# Clang flags for all host rules
|
# Clang flags for all host rules
|
||||||
|
Reference in New Issue
Block a user