From b9907f55ddf3c810329ff2afc59a2d2bd11bfa1b Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Tue, 1 Apr 2008 02:39:17 +0000 Subject: [PATCH] MFB: 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 5aac926dd6..cf06e7ead0 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.40.0