1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-02 21:21:10 +00:00

debug build: build with -fsanitize=address

Let's compile with this flag to detect memory erros in the debug build.

See https://clang.llvm.org/docs/AddressSanitizer.html

Regards: https://github.com/profanity-im/profanity/issues/1512
This commit is contained in:
Michael Vetter 2021-03-24 17:08:19 +01:00
parent 18172f5260
commit 5f7840bc3f

View File

@ -1,4 +1,4 @@
#!/bin/sh
#./configure PYTHON_VERSION=3 CFLAGS='-g3 -O0' CXXFLAGS='-g3 -O0' $@
./configure CFLAGS='-g3 -O0' CXXFLAGS='-g3 -O0' $@
./configure CFLAGS='-g3 -O0 -fsanitize=address' CXXFLAGS='-g3 -O0' $@