From: Alan T. DeKok Date: Wed, 18 Jan 2023 19:12:25 +0000 (-0500) Subject: don't smash CFLAGS when doing --with-developer X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f8880b3731ac1fd9aaf27254b26e3595b8d7d53;p=thirdparty%2Ffreeradius-server.git don't smash CFLAGS when doing --with-developer --- diff --git a/configure b/configure index 35e702c0e81..f5c4bc66787 100755 --- a/configure +++ b/configure @@ -3287,7 +3287,7 @@ printf "%s\n" "#define RADIUSD_VERSION_COMMIT ${RADIUSD_VERSION_COMMIT}" >>confd fi if test "x$developer" = "xyes"; then - : ${CFLAGS=-g3} + : ${CFLAGS="$CFLAGS -g3"} fi # Check whether --enable-verify-ptr was given. diff --git a/configure.ac b/configure.ac index 515e61cf615..bef8ccf5054 100644 --- a/configure.ac +++ b/configure.ac @@ -178,7 +178,7 @@ dnl # -g3 so nice things like macro values are included. Other arguments are dnl # added later when we know what compiler were using. dnl # if test "x$developer" = "xyes"; then - : ${CFLAGS=-g3} + : ${CFLAGS="$CFLAGS -g3"} fi dnl #