Filter out all -fsanitize= args when building compilerplugins
Change-Id: Ic809ddad81608f107749498c1432606403ee2314
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
CLANG_COMMA :=,
|
CLANG_COMMA :=,
|
||||||
|
|
||||||
# You may occasionally want to override some of these
|
# 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)
|
# Compile flags ('make CLANGCXXFLAGS=-g' if you need to debug the plugin)
|
||||||
CLANGCXXFLAGS=-O2 -Wall -Wextra -g
|
CLANGCXXFLAGS=-O2 -Wall -Wextra -g
|
||||||
|
Reference in New Issue
Block a user