Permalink
Browse files

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

… all)
  • Loading branch information...
1 parent 743f509 commit 309a56f3f7c5735e09a25e62667be8700d4db7d6 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 309a56f

Please sign in to comment.