summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-22 14:18:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-22 14:18:51 +0200
commit5db9861383f054c6e2018c0e90d31ee1c89b25b4 (patch)
tree30e1e1bb9282c1a2d692c8430c9ec952fbbd34f1 /compilerplugins
parentace815b451242b13f492887b004d14337362ae58 (diff)
Filter out all -fsanitize= args when building compilerplugins
Change-Id: Ic809ddad81608f107749498c1432606403ee2314
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/Makefile-clang.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/Makefile-clang.mk b/compilerplugins/Makefile-clang.mk
index 8f8311b12e6a..bed75cec99e6 100644
--- a/compilerplugins/Makefile-clang.mk
+++ b/compilerplugins/Makefile-clang.mk
@@ -11,7 +11,7 @@
CLANG_COMMA :=,
# You may occasionally want to override some of these
-CLANGCXX=$(filter-out -m32 -m64 -fsanitize=address,$(CXX))
+CLANGCXX=$(filter-out -m32 -m64 -fsanitize=%,$(CXX))
# Compile flags ('make CLANGCXXFLAGS=-g' if you need to debug the plugin)
CLANGCXXFLAGS=-O2 -Wall -Wextra -g