From 8a55b793631f37dbe7f906cd55d0997f920d36e8 Mon Sep 17 00:00:00 2001 From: Xavier Chantry Date: Mon, 10 Aug 2009 16:29:37 +0200 Subject: re-add -g CFLAGS with --enable-debug after commit 8feccaed7861010caefa4f7b9824a6, -g was no longer added with --enable-debug. So if CFLAGS was set (if unset, it defaults to -g -O2) and didn't contain -g, we ended with no debug symbols.. Signed-off-by: Xavier Chantry Signed-off-by: Dan McGee --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 90be362e..b2164b9e 100644 --- a/configure.ac +++ b/configure.ac @@ -284,7 +284,7 @@ if test "x$debug" = "xyes" ; then # Check for -fstack-protector availability GCC_STACK_PROTECT_LIB GCC_STACK_PROTECT_CC - CFLAGS="$CFLAGS -Wall -Werror" + CFLAGS="$CFLAGS -g -Wall -Werror" else AC_MSG_RESULT(no) CFLAGS="$CFLAGS -Wall" -- cgit v1.2.3-70-g09d2