Disable sanitizer on debug builds
On our Windows machine, the mingw ld.exe does not support sanitizers. Exclude them from the default debug build.
This commit is contained in:
parent
4dbc450d01
commit
598ddcbfbc
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -21,7 +21,7 @@ clean:
|
||||||
|
|
||||||
build-app-debug:
|
build-app-debug:
|
||||||
[ -d "$(APP_BUILD_DEBUG_DIR)" ] || ( mkdir "$(APP_BUILD_DEBUG_DIR)" && \
|
[ -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)"
|
ninja -C "$(APP_BUILD_DEBUG_DIR)"
|
||||||
|
|
||||||
build-server-debug:
|
build-server-debug:
|
||||||
|
|
Loading…
Reference in a new issue