From: Gwynne Raskind Date: Tue, 1 Apr 2008 02:37:02 +0000 (+0000) Subject: fix the darwin 9 hack again; add the -O2 back in to avoid performance loss when not... X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~444 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eade375f564aa8d84e6c3cb9bc125b5a743bca4a;p=php fix the darwin 9 hack again; add the -O2 back in to avoid performance loss when not compiling for debug --- diff --git a/configure.in b/configure.in index a6f597b9c7..80eb6e3b38 100644 --- a/configure.in +++ b/configure.in @@ -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