Skip to content

Commit 882cf00

Browse files
author
Maxim Egorushkin
committed
clang sanitize options updated.
1 parent e9a9611 commit 882cf00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ cxxflags.clang.sanitize2 := ${cxxflags.clang.release} -fsanitize=undefined,addre
6363
cxxflags.clang := -stdlib=libstdc++ -f{no-plt,no-math-errno,finite-math-only,message-length=0} -W{all,extra,error,no-{unused-variable,unused-function,unused-local-typedefs}} ${cxxflags.clang.${BUILD}}
6464
ldflags.clang.debug := -latomic # A work-around for clang bug.
6565
ldflags.clang.sanitize := ${ldflags.clang.release} -fsanitize=thread
66-
ldflags.clang.sanitize2 := ${ldflags.clang.release} -fsanitize=undefined,address -static-libasan
66+
ldflags.clang.sanitize2 := ${ldflags.clang.release} -fsanitize=undefined,address -static-libsan
6767
ldflags.clang := -stdlib=libstdc++ ${ldflags.clang.${BUILD}}
6868

6969
# Additional CPPFLAGS, CXXFLAGS, LDLIBS, LDFLAGS can come from the command line, e.g. make CPPFLAGS='-I<my-include-dir>', or from environment variables.

0 commit comments

Comments
 (0)