Without that fix, ./configure --enable-debug doesn't change the
default CFLAGS as it should.

This bug was introduced in the commit 6d394a3f9629 ("Makefile.am: move
-ggdb and -O0 CFLAGS to configure.ac").

Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 6d15ae8..1f83a58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,7 +72,7 @@ AC_CONFIG_FILES([
 
 #------------------------------------------------------------------------------
 AS_IF([test x"$valgrind_tests" = x"yes"], [: ${CFLAGS="-ggdb3 -O0"}],
-      [test x"debug" = x"yes"], [: ${CFLAGS="-ggdb -O0"}], [])
+      [test x"$debug" = x"yes"], [: ${CFLAGS="-ggdb -O0"}], [])
 
 AC_PROG_CC
 AM_PROG_CC_C_O
-- 
2.36.1

_______________________________________________
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to