From 598ddcbfbcedeccddbff62448c3f268a91e32aad Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Mon, 12 Feb 2018 15:56:50 +0100 Subject: [PATCH] Disable sanitizer on debug builds On our Windows machine, the mingw ld.exe does not support sanitizers. Exclude them from the default debug build. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d8cb7987..5646d69b 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ clean: build-app-debug: [ -d "$(APP_BUILD_DEBUG_DIR)" ] || ( mkdir "$(APP_BUILD_DEBUG_DIR)" && \ - CFLAGS=-fsanitize=address,undefined meson app "$(APP_BUILD_DEBUG_DIR)" --buildtype debug ) + meson app "$(APP_BUILD_DEBUG_DIR)" --buildtype debug ) ninja -C "$(APP_BUILD_DEBUG_DIR)" build-server-debug: