Permalink
Browse files

-O0 if --enable-debug

  • Loading branch information...
1 parent d33389c commit 05f22d94e776036499534383de1e4c7453a4ca82 @spiritloose committed Oct 17, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure.ac
View
2 configure.ac
@@ -54,7 +54,7 @@ eval `$AP_LIBTOOL --config | grep "^CC"`
if test "$CC" = "gcc"; then
EXTRA_CFLAGS="-Wall"
if test "$ENABLE_DEBUG" = "yes"; then
- EXTRA_CFLAGS+=" -g"
+ EXTRA_CFLAGS+=" -O0 -g"
DEBUG_DEFS="-DMOD_PSGI_DEBUG"
AC_SUBST(DEBUG_DEFS)
fi

0 comments on commit 05f22d9

Please sign in to comment.