Enable Address Sanitizer for debugging
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
8142c780e0
commit
849aeb18c4
@ -31,7 +31,7 @@ addons:
|
|||||||
# Build test programs as regular user, or clang build may fail
|
# Build test programs as regular user, or clang build may fail
|
||||||
script:
|
script:
|
||||||
- ./autogen.sh
|
- ./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 clean
|
||||||
- make all
|
- make all
|
||||||
- make -C test programs
|
- make -C test programs
|
||||||
|
Loading…
Reference in New Issue
Block a user