only c++ because lua does some things asan doesn't like, but don't actually cause overruns.
This commit is contained in:
parent
cbc7c61b3e
commit
bdc6340df7
|
@ -69,6 +69,7 @@ ifeq ($(USE_CPPOPT),)
|
|||
endif
|
||||
|
||||
# Enable address sanitizer for C++ files, but not on Windows since x86_64-w64-mingw32-g++ doesn't support it.
|
||||
# only c++ because lua does some things asan doesn't like, but don't actually cause overruns.
|
||||
ifeq ($(SANITIZE),yes)
|
||||
ifeq ($(IS_MAC),yes)
|
||||
USE_CPPOPT += -fsanitize=address
|
||||
|
|
Loading…
Reference in New Issue