[Replicant] [libsamsung-ipc] [PATCH 09/21] configure.ac: fix default debug CFLAGS
Denis 'GNUtoo' Carikli
GNUtoo at cyberdimension.org
Fri Jun 17 16:15:41 UTC 2022
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 <GNUtoo at 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
More information about the Replicant
mailing list