]> granicus.if.org Git - php/commitdiff
fix the darwin 9 hack again; add the -O2 back in to avoid performance loss when not...
authorGwynne Raskind <gwynne@php.net>
Tue, 1 Apr 2008 02:37:02 +0000 (02:37 +0000)
committerGwynne Raskind <gwynne@php.net>
Tue, 1 Apr 2008 02:37:02 +0000 (02:37 +0000)
configure.in

index a6f597b9c72cb419a7e11cbebcb2e2dac9b4f227..80eb6e3b388e689b661966b564b3e0f7e2716758 100644 (file)
@@ -767,7 +767,7 @@ if test "$PHP_DEBUG" = "yes"; then
 else
   dnl Finish the Darwin hack
   if test "$php_did_darwin9_cheat" -eq 1; then
-    CFLAGS=`echo "$CFLAGS" | $SED -e 's/-gstabs//g'`
+    CFLAGS=`echo "-O2 $CFLAGS" | /usr/bin/sed -e 's/-gstabs//g'`
   fi
   PHP_DEBUG=0
   ZEND_DEBUG=no