Review at  https://gerrit.osmocom.org/5779

Fix sanitizer build

Add sanitizer flags to linker as well to resolve link error.

Change-Id: I695baaf8ce78ed938f6f71c40d17120fa690338b
---
M configure.ac
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/79/5779/1

diff --git a/configure.ac b/configure.ac
index 8a8b93c..56e2057 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,6 +42,7 @@
 then
        CFLAGS="$CFLAGS -fsanitize=address -fsanitize=undefined"
        CPPFLAGS="$CPPFLAGS -fsanitize=address -fsanitize=undefined"
+       LDFLAGS="$LDFLAGS -fsanitize=address -fsanitize=undefined"
 fi
 
 AC_ARG_ENABLE(profile,

-- 
To view, visit https://gerrit.osmocom.org/5779
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I695baaf8ce78ed938f6f71c40d17120fa690338b
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Max <msur...@sysmocom.de>

Reply via email to