Disable compiler code optimizations and turn on gdb support when --enable-debug is passed to configure.

This commit is contained in:
Romuald Conty 2010-04-09 23:41:35 +00:00
parent e886ef4f48
commit f693040ced

View file

@ -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])