]> 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 2889870b15b4dd14f2e206835a2931d9884034cf..f543fa5e83181ea6ad427134eec8f7ce4c854269 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