1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00

MFB: fix the darwin 9 hack again; add the -O2 back in to avoid performance loss when not compiling for debug

This commit is contained in:
Gwynne Raskind
2008-04-01 02:39:17 +00:00
parent 98bed38981
commit b9907f55dd
+1 -1
View 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