jani                                     Tue, 02 Nov 2010 09:58:08 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=305025

Log:
- Fixed -g adding for gcc and g++ (former got it twice, latter not at all)

Changed paths:
    U   php/php-src/branches/PHP_5_3/configure.in
    U   php/php-src/branches/PHP_5_3/scripts/phpize.m4
    U   php/php-src/trunk/configure.in
    U   php/php-src/trunk/scripts/phpize.m4

Modified: php/php-src/branches/PHP_5_3/configure.in
===================================================================
--- php/php-src/branches/PHP_5_3/configure.in   2010-11-02 09:33:19 UTC (rev 
305024)
+++ php/php-src/branches/PHP_5_3/configure.in   2010-11-02 09:58:08 UTC (rev 
305025)
@@ -764,7 +764,7 @@
   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

Modified: php/php-src/branches/PHP_5_3/scripts/phpize.m4
===================================================================
--- php/php-src/branches/PHP_5_3/scripts/phpize.m4      2010-11-02 09:33:19 UTC 
(rev 305024)
+++ php/php-src/branches/PHP_5_3/scripts/phpize.m4      2010-11-02 09:58:08 UTC 
(rev 305025)
@@ -111,7 +111,7 @@
   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

Modified: php/php-src/trunk/configure.in
===================================================================
--- php/php-src/trunk/configure.in      2010-11-02 09:33:19 UTC (rev 305024)
+++ php/php-src/trunk/configure.in      2010-11-02 09:58:08 UTC (rev 305025)
@@ -764,7 +764,7 @@
   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

Modified: php/php-src/trunk/scripts/phpize.m4
===================================================================
--- php/php-src/trunk/scripts/phpize.m4 2010-11-02 09:33:19 UTC (rev 305024)
+++ php/php-src/trunk/scripts/phpize.m4 2010-11-02 09:58:08 UTC (rev 305025)
@@ -111,7 +111,7 @@
   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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to