-fno-inline when compiling in debug mode

This commit is contained in:
Dana Jansens 2002-07-11 00:42:13 +00:00
parent f320a02397
commit 26c5c40505

View file

@ -173,7 +173,7 @@ AC_ARG_ENABLE(debug,
[ --enable-debug include verbose debugging code [default=no]], [ --enable-debug include verbose debugging code [default=no]],
if test x$enableval = "xyes"; then if test x$enableval = "xyes"; then
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
DEBUG="-DDEBUG -Wall -W" DEBUG="-DDEBUG -Wall -W -fno-inline"
else else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
DEBUG="-DNDEBUG" DEBUG="-DNDEBUG"