From 1772daba6afa394e1081028825e4f96e6387d9a3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 16 May 2017 11:37:02 +0200 Subject: 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 --- compilerplugins/Makefile-clang.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compilerplugins') 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 -- cgit