]> granicus.if.org Git - php/commitdiff
add -g along with -O0
authorAntony Dovgal <tony2001@php.net>
Tue, 1 Sep 2009 15:13:02 +0000 (15:13 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 1 Sep 2009 15:13:02 +0000 (15:13 +0000)
configure.in

index 3099c525c3039a9350f36b7f03d4ce8a041ccf58..70a7bf779e98085f92d36fd6d528d6a6c6592081 100644 (file)
@@ -779,8 +779,8 @@ if test "$PHP_DEBUG" = "yes"; then
   changequote([,])
   dnl add -O0 only if GCC or ICC is used
   if test "$GCC" = "yes" || test "$ICC" = "yes"; then
-    CFLAGS="$CFLAGS -O0"
-    CXXFLAGS="$CXXFLAGS -O0"
+    CFLAGS="$CFLAGS -g -O0"
+    CXXFLAGS="$CXXFLAGS -g -O0"
   fi
   if test "$SUNCC" = "yes"; then
     if test -n "$auto_cflags"; then