]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't smash CFLAGS when doing --with-developer
authorAlan T. DeKok <aland@freeradius.org>
Wed, 18 Jan 2023 19:12:25 +0000 (14:12 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 18 Jan 2023 19:12:25 +0000 (14:12 -0500)
configure
configure.ac

index 35e702c0e813cb24d7c7e57e7749c0841174dc13..f5c4bc66787cbc35ab4d6070d854458f177e9008 100755 (executable)
--- 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.
index 515e61cf615575377c2a33ee979a0005935d5e40..bef8ccf50545a2633f5e7affe134e278e7260cbc 100644 (file)
@@ -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 #