From a0b20bba848510cc2f0c0101896e1dcd297353f9 Mon Sep 17 00:00:00 2001 From: dragonmux Date: Mon, 11 Jul 2022 10:05:42 -0400 Subject: [PATCH] hosted: Fixed the ASAN build configuration as it's wrong when using Clang as the compiler --- src/platforms/hosted/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/hosted/Makefile.inc b/src/platforms/hosted/Makefile.inc index cdaa866..8366c72 100644 --- a/src/platforms/hosted/Makefile.inc +++ b/src/platforms/hosted/Makefile.inc @@ -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