Filter out all -fsanitize= args when building compilerplugins

Change-Id: Ic809ddad81608f107749498c1432606403ee2314
This commit is contained in:
Stephan Bergmann
2014-05-22 14:18:51 +02:00
parent ace815b451
commit 5db9861383

View File

@@ -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