File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ PHP NEWS
48
48
- Fixed PECL bug #11216 (crash in ZipArchive::addEmptyDir when a directory
49
49
already exists). (Pierre)
50
50
51
+ - Fixed bug #41908 (CFLAGS="-Os" ./configure --enable-debug fails).
52
+ (christian at hoffie dot info, Tony)
51
53
- Fixed bug #41909 (var_export() is locale sensitive when exporting float
52
54
values). (Derick)
53
55
- Fixed bug #41867 (getName is broken). (Rob)
Original file line number Diff line number Diff line change @@ -678,8 +678,8 @@ if test "$PHP_GCOV" = "yes"; then
678
678
679
679
dnl Remove all optimization flags from CFLAGS
680
680
changequote ( { ,} )
681
- CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[ 0-9 ] *//g'`
682
- CXXFLAGS=`echo "$CXXFLAGS" | $SED -e 's/-O[ 0-9 ] *//g'`
681
+ CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[ 0-9s ] *//g'`
682
+ CXXFLAGS=`echo "$CXXFLAGS" | $SED -e 's/-O[ 0-9s ] *//g'`
683
683
changequote ( [ ,] )
684
684
685
685
dnl Add the special gcc flags
@@ -694,8 +694,8 @@ if test "$PHP_DEBUG" = "yes"; then
694
694
PHP_DEBUG=1
695
695
ZEND_DEBUG=yes
696
696
changequote ( { ,} )
697
- CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[ 0-9 ] *//g'`
698
- CXXFLAGS=`echo "$CXXFLAGS" | $SED -e 's/-O[ 0-9 ] *//g'`
697
+ CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[ 0-9s ] *//g'`
698
+ CXXFLAGS=`echo "$CXXFLAGS" | $SED -e 's/-O[ 0-9s ] *//g'`
699
699
changequote ( [ ,] )
700
700
dnl add -O0 only if GCC or ICC is used
701
701
if test "$GCC" = "yes" || test "$ICC" = "yes"; then
You can’t perform that action at this time.
0 commit comments