-fno-inline when compiling in debug mode
This commit is contained in:
parent
f320a02397
commit
26c5c40505
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue