From f693040ced5874fe2c56672705e40517ba0cf342 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Fri, 9 Apr 2010 23:41:35 +0000 Subject: [PATCH] Disable compiler code optimizations and turn on gdb support when --enable-debug is passed to configure. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 209c108..df71d0a 100644 --- a/configure.ac +++ b/configure.ac @@ -57,7 +57,7 @@ AC_MSG_RESULT($enable_debug) if test x"$enable_debug" = "xyes" then - CFLAGS="$CFLAGS -g -Wall -DDEBUG -pedantic" + CFLAGS="$CFLAGS -g -Wall -DDEBUG -pedantic -O0 -ggdb" fi AC_SUBST([DEBUG_CFLAGS])