tony2001                Fri Jul  6 10:44:24 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    NEWS configure.in 
  Log:
  MFH: fix #41908 (CFLAGS="-Os" ./configure --enable-debug fails)
  patch by christian at hoffie dot info
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.818&r2=1.2027.2.547.2.819&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.818 php-src/NEWS:1.2027.2.547.2.819
--- php-src/NEWS:1.2027.2.547.2.818     Thu Jul  5 20:54:59 2007
+++ php-src/NEWS        Fri Jul  6 10:44:23 2007
@@ -48,6 +48,8 @@
 - Fixed PECL bug #11216 (crash in ZipArchive::addEmptyDir when a directory 
   already exists). (Pierre)
 
+- Fixed bug #41908 (CFLAGS="-Os" ./configure --enable-debug fails). 
+  (christian at hoffie dot info, Tony) 
 - Fixed bug #41909 (var_export() is locale sensitive when exporting float
   values). (Derick)
 - Fixed bug #41867 (getName is broken). (Rob)
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.61&r2=1.579.2.52.2.62&diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.61 
php-src/configure.in:1.579.2.52.2.62
--- php-src/configure.in:1.579.2.52.2.61        Tue Jul  3 17:25:33 2007
+++ php-src/configure.in        Fri Jul  6 10:44:23 2007
@@ -1,4 +1,4 @@
- ## $Id: configure.in,v 1.579.2.52.2.61 2007/07/03 17:25:33 sniper Exp $ -*- 
autoconf -*-
+ ## $Id: configure.in,v 1.579.2.52.2.62 2007/07/06 10:44:23 tony2001 Exp $ -*- 
autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -678,8 +678,8 @@
 
   dnl Remove all optimization flags from CFLAGS
   changequote({,})
-  CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
-  CXXFLAGS=`echo "$CXXFLAGS" | $SED -e 's/-O[0-9]*//g'`
+  CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9s]*//g'`
+  CXXFLAGS=`echo "$CXXFLAGS" | $SED -e 's/-O[0-9s]*//g'`
   changequote([,])
 
   dnl Add the special gcc flags
@@ -694,8 +694,8 @@
   PHP_DEBUG=1
   ZEND_DEBUG=yes
   changequote({,})
-  CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
-  CXXFLAGS=`echo "$CXXFLAGS" | $SED -e 's/-O[0-9]*//g'`
+  CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9s]*//g'`
+  CXXFLAGS=`echo "$CXXFLAGS" | $SED -e 's/-O[0-9s]*//g'`
   changequote([,])
   dnl add -O0 only if GCC or ICC is used
   if test "$GCC" = "yes" || test "$ICC" = "yes"; then

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

Reply via email to