Build with -O2 but keep address sanitizer

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-06 16:54:15 +01:00
parent 1544cddd5a
commit 74c523a158

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 CFLAGS="-g -Og -fsanitize=address" LDFLAGS="-fsanitize=address"
- ./configure --prefix=/tmp/sysklogd --disable-silent-rules CFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address"
- make clean
- make all
- make -C test programs