[PATCH] osmo-pcu[master]: Fix sanitizer build

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Sun Jan 14 21:18:09 UTC 2018


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 <msuraev at sysmocom.de>



More information about the gerrit-log mailing list