hosted: Fixed the ASAN build configuration as it's wrong when using Clang as the compiler
This commit is contained in:
parent
4e50b22775
commit
a0b20bba84
|
@ -22,7 +22,7 @@ SRC += serial_unix.c
|
|||
HIDAPILIB = hidapi-hidraw
|
||||
ifeq ($(ASAN), 1)
|
||||
CFLAGS += -fsanitize=address -Wno-format-truncation
|
||||
LDFLAGS += -lasan
|
||||
LDFLAGS += -fsanitize=address
|
||||
endif
|
||||
else ifneq (, $(findstring mingw, $(SYS)))
|
||||
# Build for windows versions Vista, and above, where the
|
||||
|
|
Loading…
Reference in New Issue