aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremanuele-f <faranda@ntop.org>2020-02-14 11:09:00 +0100
committeremanuele-f <faranda@ntop.org>2020-02-14 11:09:00 +0100
commit428661c00b061ad2b5d9cd5f0fb20a881ccec3f2 (patch)
treef1b046a6d968bea6a66666932d16c312e8165e74
parent5c52c00ea4ad8afaebd5259bc53215a1ab41569f (diff)
Add debug symbols when using --with-llvm-sanitizer
-rw-r--r--configure.seed2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.seed b/configure.seed
index 23ef8490b..ead7f7a0f 100644
--- a/configure.seed
+++ b/configure.seed
@@ -7,7 +7,7 @@ AM_INIT_AUTOMAKE([foreign subdir-objects])
AC_ARG_WITH(llvm_sanitizer, [ --with-llvm-sanitizer Build with support for the LLVM address sanitizer])
AS_IF([test "${with_llvm_sanitizer+set}" = set],[
- CFLAGS="${CFLAGS} -Wno-unused-value -fsanitize=address -fno-omit-frame-pointer"
+ CFLAGS="${CFLAGS} -g -O2 -Wno-unused-value -fsanitize=address -fno-omit-frame-pointer"
LDFLAGS="${LDFLAGS} -fsanitize=address"
CC=clang
CXX=clang++