More sanitizer options
This commit is contained in:
parent
9b24550814
commit
5e1411c5c6
4
Makefile
4
Makefile
|
@ -120,6 +120,10 @@ endif
|
||||||
|
|
||||||
ifeq "$(ENABLE_SAN)" "1"
|
ifeq "$(ENABLE_SAN)" "1"
|
||||||
CFLAGS += -fsanitize=address,undefined
|
CFLAGS += -fsanitize=address,undefined
|
||||||
|
else ifeq "$(ENABLE_SAN)" "thread"
|
||||||
|
CFLAGS += -fsanitize=thread
|
||||||
|
else ifeq "$(ENABLE_SAN)" "memory"
|
||||||
|
CFLAGS += -fsanitize=memory
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIBS += $(shell pkg-config --libs $(PACKAGES))
|
LIBS += $(shell pkg-config --libs $(PACKAGES))
|
||||||
|
|
Loading…
Reference in New Issue