Enable Address Sanitizer for debugging

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-06 16:48:16 +01:00
parent 8142c780e0
commit 849aeb18c4

View File

@ -31,7 +31,7 @@ addons:
# Build test programs as regular user, or clang build may fail
script:
- ./autogen.sh
- ./configure --prefix=/tmp/sysklogd --disable-silent-rules
- ./configure --prefix=/tmp/sysklogd --disable-silent-rules CFLAGS="-g -Og -fsanitize=address" LDFLAGS="-fsanitize=address"
- make clean
- make all
- make -C test programs