am ced6159b: Merge "Filter out gcc flags that are not recognized by clang."

* commit 'ced6159b7e5551fcd3f64c21b7807c7555f80f73':
  Filter out gcc flags that are not recognized by clang.
This commit is contained in:
Chih-Hung Hsieh 2015-04-02 22:28:30 +00:00 committed by Android Git Automerger
commit ead6162694

View file

@ -68,14 +68,18 @@ CLANG_CONFIG_UNKNOWN_CFLAGS := \
-funswitch-loops \ -funswitch-loops \
-Wmaybe-uninitialized \ -Wmaybe-uninitialized \
-Wno-error=maybe-uninitialized \ -Wno-error=maybe-uninitialized \
-Wno-error=unused-but-set-parameter \
-Wno-error=unused-but-set-variable \
-Wno-free-nonheap-object \ -Wno-free-nonheap-object \
-Wno-literal-suffix \ -Wno-literal-suffix \
-Wno-maybe-uninitialized \ -Wno-maybe-uninitialized \
-Wno-old-style-declaration \ -Wno-old-style-declaration \
-Wno-psabi \ -Wno-psabi \
-Wno-unused-but-set-variable \
-Wno-unused-but-set-parameter \ -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 flags for all host rules
CLANG_CONFIG_HOST_EXTRA_ASFLAGS := CLANG_CONFIG_HOST_EXTRA_ASFLAGS :=