summaryrefslogtreecommitdiff
path: root/scripts/phpize.m4
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2010-11-02 09:58:08 +0000
committerJani Taskinen <jani@php.net>2010-11-02 09:58:08 +0000
commit309aefc7e7a22225fccb4a2b9e3dbb50b6b50d78 (patch)
treeabbd51a8d135ba11d4b46a4299c1d0673fcb6051 /scripts/phpize.m4
parent3ac257f344987fc5bba7357198feff90d608daeb (diff)
downloadphp-git-309aefc7e7a22225fccb4a2b9e3dbb50b6b50d78.tar.gz
- Fixed -g adding for gcc and g++ (former got it twice, latter not at all)
Diffstat (limited to 'scripts/phpize.m4')
-rw-r--r--scripts/phpize.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/phpize.m4 b/scripts/phpize.m4
index 07e6037fbc..e3a30a50c5 100644
--- a/scripts/phpize.m4
+++ b/scripts/phpize.m4
@@ -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