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

2018-01-15 Thread Max
Hello Harald Welte, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/5779

to look at the new patch set (#2).

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(-)


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

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: newpatchset
Gerrit-Change-Id: I695baaf8ce78ed938f6f71c40d17120fa690338b
Gerrit-PatchSet: 2
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Max 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


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

2018-01-14 Thread Max

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