diff options
author | Chih-Hung Hsieh <chh@google.com> | 2015-04-02 14:42:20 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2015-04-02 14:42:20 -0700 |
commit | 9205bc1da6e9e599b3451363d830c02c792a8899 (patch) | |
tree | bcc35c6cf77679efa8814261e498416db81aaa8a /core/clang | |
parent | 6ac0d47402855d199a1afd6bc5c7cd775a1cf5d1 (diff) | |
download | build-9205bc1da6e9e599b3451363d830c02c792a8899.zip build-9205bc1da6e9e599b3451363d830c02c792a8899.tar.gz build-9205bc1da6e9e599b3451363d830c02c792a8899.tar.bz2 |
Filter out gcc flags that are not recognized by clang.
Change-Id: I04e95fc3b0cb2825bf90a55916f89d25fa9fc475
Diffstat (limited to 'core/clang')
-rw-r--r-- | core/clang/config.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/clang/config.mk b/core/clang/config.mk index ba48f63..13a5ba1 100644 --- a/core/clang/config.mk +++ b/core/clang/config.mk @@ -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 := |