aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-01-14 22:17:10 +0100
committerMax <msuraev@sysmocom.de>2018-01-15 17:23:17 +0100
commit2141962baf95bfaf11f19dacd59f7b8ac8d49ca3 (patch)
tree28ad01db0b71c44d0e5153d970bc4495093edafe
parent71affcedba7f87183ee2bee99ada7840f2c98a01 (diff)
Fix sanitizer build
Add sanitizer flags to linker as well to resolve linker error. Change-Id: I695baaf8ce78ed938f6f71c40d17120fa690338b
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8a8b93c..56e2057 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,6 +42,7 @@ if test x"$sanitize" = x"yes"
then
CFLAGS="$CFLAGS -fsanitize=address -fsanitize=undefined"
CPPFLAGS="$CPPFLAGS -fsanitize=address -fsanitize=undefined"
+ LDFLAGS="$LDFLAGS -fsanitize=address -fsanitize=undefined"
fi
AC_ARG_ENABLE(profile,