hosted: Fixed the ASAN build configuration as it's wrong when using Clang as the compiler

This commit is contained in:
dragonmux 2022-07-11 10:05:42 -04:00 committed by Piotr Esden-Tempski
parent 4e50b22775
commit a0b20bba84
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ SRC += serial_unix.c
HIDAPILIB = hidapi-hidraw HIDAPILIB = hidapi-hidraw
ifeq ($(ASAN), 1) ifeq ($(ASAN), 1)
CFLAGS += -fsanitize=address -Wno-format-truncation CFLAGS += -fsanitize=address -Wno-format-truncation
LDFLAGS += -lasan LDFLAGS += -fsanitize=address
endif endif
else ifneq (, $(findstring mingw, $(SYS))) else ifneq (, $(findstring mingw, $(SYS)))
# Build for windows versions Vista, and above, where the # Build for windows versions Vista, and above, where the