diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-16 11:37:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-16 11:37:02 +0200 |
commit | 1772daba6afa394e1081028825e4f96e6387d9a3 (patch) | |
tree | 211d0e66a0a4dca714a536a3d1beacf7ab8b425d /compilerplugins | |
parent | dd881805bf5cc5ec99314d02534ffeaf31de1cae (diff) |
Also filter out flags like -fsanitize-address-globals-dead-stripping
...to avoid -Werror,-Wunused-command-line-argument in case some ASan build
setting passes in such flags
Change-Id: Ia613a10e3564a23715019ee0c7c755cdcbf7a47c
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/Makefile-clang.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/Makefile-clang.mk b/compilerplugins/Makefile-clang.mk index dc9255725b9e..4839fdef2feb 100644 --- a/compilerplugins/Makefile-clang.mk +++ b/compilerplugins/Makefile-clang.mk @@ -11,7 +11,7 @@ CLANG_COMMA :=, ifeq ($(COMPILER_PLUGINS_CXX),) -CLANGCXX=$(filter-out -m32 -m64 -fsanitize=%,$(CXX)) +CLANGCXX=$(filter-out -m32 -m64 -fsanitize%,$(CXX)) else CLANGCXX=$(COMPILER_PLUGINS_CXX) endif |