6
Makefile
6
Makefile
@ -113,9 +113,11 @@ else ifeq "$(BUILD_TYPE)" "Debug"
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq "$(ENABLE_SAN)" "1"
|
ifeq "$(ENABLE_SAN)" "1"
|
||||||
|
ifeq "$(CC)" "clang"
|
||||||
|
CFG += -fsanitize=address,undefined,integer,nullability
|
||||||
|
else
|
||||||
CFG += -fsanitize=address,undefined
|
CFG += -fsanitize=address,undefined
|
||||||
else ifeq "$(ENABLE_SAN)" "thread"
|
endif
|
||||||
CFG += -fsanitize=thread
|
|
||||||
else ifeq "$(ENABLE_SAN)" "memory"
|
else ifeq "$(ENABLE_SAN)" "memory"
|
||||||
CFG += -fsanitize=memory
|
CFG += -fsanitize=memory
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user