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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user