Disable compiler code optimizations and turn on gdb support when --enable-debug is passed to configure.
This commit is contained in:
parent
e886ef4f48
commit
f693040ced
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in a new issue