Filter out gcc flags that are not recognized by clang.

Change-Id: I04e95fc3b0cb2825bf90a55916f89d25fa9fc475
This commit is contained in:
Chih-Hung Hsieh 2015-04-02 14:42:20 -07:00
parent 6ac0d47402
commit 9205bc1da6
1 changed files with 6 additions and 2 deletions

View File

@ -68,14 +68,18 @@ CLANG_CONFIG_UNKNOWN_CFLAGS := \
-funswitch-loops \
-Wmaybe-uninitialized \
-Wno-error=maybe-uninitialized \
-Wno-error=unused-but-set-parameter \
-Wno-error=unused-but-set-variable \
-Wno-free-nonheap-object \
-Wno-literal-suffix \
-Wno-maybe-uninitialized \
-Wno-old-style-declaration \
-Wno-psabi \
-Wno-unused-but-set-variable \
-Wno-unused-but-set-parameter \
-Wno-unused-local-typedefs
-Wno-unused-but-set-variable \
-Wno-unused-local-typedefs \
-Wunused-but-set-parameter \
-Wunused-but-set-variable
# Clang flags for all host rules
CLANG_CONFIG_HOST_EXTRA_ASFLAGS :=