From 74c523a1582e17521e6c943330572dc0a2c24643 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 6 Nov 2019 16:54:15 +0100 Subject: [PATCH] Build with -O2 but keep address sanitizer Signed-off-by: Joachim Nilsson --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2dffbb2..b4d7f14 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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