Permalink
Browse files

- Fixed -g adding for gcc and g++ (former got it twice, latter not at…

… all)
  • Loading branch information...
1 parent 3ac257f commit 309aefc7e7a22225fccb4a2b9e3dbb50b6b50d78 Jani Taskinen committed Nov 2, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 configure.in
  2. +1 −1 scripts/phpize.m4
View
@@ -764,7 +764,7 @@ 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 -g -O0"
+ CFLAGS="$CFLAGS -O0"
CXXFLAGS="$CXXFLAGS -g -O0"
fi
if test "$SUNCC" = "yes"; then
View
@@ -111,7 +111,7 @@ if test "$PHP_DEBUG" = "yes"; then
dnl add -O0 only if GCC or ICC is used
if test "$GCC" = "yes" || test "$ICC" = "yes"; then
CFLAGS="$CFLAGS -O0"
- CXXFLAGS="$CXXFLAGS -O0"
+ CXXFLAGS="$CXXFLAGS -g -O0"
fi
if test "$SUNCC" = "yes"; then
if test -n "$auto_cflags"; then

0 comments on commit 309aefc

Please sign in to comment.