summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-07-05 19:56:34 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-08 10:46:31 +0000
commitd59ed0b3b410c908c80eca11cde005074b76e814 (patch)
treea08938a3511981d4a864e4bbecc9416e52aa11ba /configure.ac
parent4f30f785c83b164d5603293150653b02dc6c69d8 (diff)
configure.ac: Fix C(PP)FLAGS for BSD build
Issue first found in libosmocore. It seems the BSD build doesn't use bash which means using += to append to a variable doesn't work correctly. Change-Id: I33f6b9de4990de0c4d3a6fc0bd7df632094e79ac
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 36cbb59..200f55d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,8 +53,8 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([char foo;])],
CFLAGS="$saved_CFLAGS"
AC_SUBST(SYMBOL_VISIBILITY)
-CFLAGS+=" -Wall"
-CPPFLAGS+=" -Wall"
+CFLAGS="$CFLAGS -Wall"
+CPPFLAGS="$CFLAGS -Wall"
AC_OUTPUT(
libosmo-sigtran.pc