提交 598ddcbf 编写于 作者: R Romain Vimont

Disable sanitizer on debug builds

On our Windows machine, the mingw ld.exe does not support sanitizers.

Exclude them from the default debug build.
上级 4dbc450d
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册