From eade375f564aa8d84e6c3cb9bc125b5a743bca4a Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Tue, 1 Apr 2008 02:37:02 +0000 Subject: [PATCH] fix the darwin 9 hack again; add the -O2 back in to avoid performance loss when not compiling for debug --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1