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

index 5aac926dd6c06b55cacab65f54392c96a0978662..cf06e7ead067c5f09ce26545af5b273d6a6a4561 100644 (file)
@@ -1260,7 +1260,7 @@ CC=$old_CC
 dnl Finish the Darwin hack
 if test "$php_did_darwin9_cheat" -eq 1; then
   if test "$PHP_DEBUG" = "yes"; then
-    CFLAGS=`echo "$CFLAGS" | $SED -e 's/-gstabs/-g/g'`
+    CFLAGS=`echo "-O2 $CFLAGS" | $SED -e 's/-gstabs/-g/g'`
   else
     CFLAGS=`echo "$CFLAGS" | $SED -e 's/-gstabs//g'`
   fi