[MERGED] 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
Mon Jan 15 16:24:50 UTC 2018


Max has submitted this change and it was merged.

Change subject: Fix sanitizer build
......................................................................


Fix sanitizer build

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

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

Approvals:
  Max: Verified
  Harald Welte: Looks good to me, approved



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: merged
Gerrit-Change-Id: I695baaf8ce78ed938f6f71c40d17120fa690338b
Gerrit-PatchSet: 3
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list