FIRE-8231: Fix compiling on Mountain Lion (OS X 10.8). Found by Shin Wasp.

Tonya Souther 2012-11-16 14:25:21 -06:00
parent 5d36a92c89
commit a6df1b36c2
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ fi
if [ $WANTS_BUILD -eq $TRUE ] ; then
echo "Building $PLATFORM..."
if [ $PLATFORM == "darwin" ] ; then
if [ $OSTYPE == "darwin11" ] ; then
if [ $OSTYPE == "darwin11" -o $OSTYPE == "darwin12" ] ; then
xcodebuild -configuration $BTYPE -project Firestorm.xcodeproj GCC_OPTIMIZATION_LEVEL=3 GCC_ENABLE_SSE3_EXTENSIONS=YES 2>&1 | tee -a $LOG
else
xcodebuild -configuration $BTYPE -project Firestorm.xcodeproj GCC_VERSION=4.2 GCC_OPTIMIZATION_LEVEL=3 GCC_ENABLE_SSE3_EXTENSIONS=YES 2>&1 | tee -a $LOG