From d59ed0b3b410c908c80eca11cde005074b76e814 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 5 Jul 2017 19:56:34 +0200 Subject: 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 --- configure.ac | 4 ++-- 1 file 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 -- cgit v1.2.3