diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-03-24 17:08:19 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-03-24 17:08:19 +0100 |
commit | 5f7840bc3fc316a2b14a043cf65d5f7db32e0717 (patch) | |
tree | b0cfa7ad0fb333908dbd8ab2f8f87694db41a232 | |
parent | 18172f52608658f44b4c4a30d47e55a3b7537c93 (diff) | |
download | profani-tty-5f7840bc3fc316a2b14a043cf65d5f7db32e0717.tar.gz |
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
-rwxr-xr-x | configure-debug | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure-debug b/configure-debug index 63679c98..e0fad154 100755 --- a/configure-debug +++ b/configure-debug @@ -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' $@ |