diff build-scripts/fatbuild.sh @ 1739:3a3e847aadb9

Trying to fix fatbuild.sh on intel
author Sam Lantinga <slouken@libsdl.org>
date Thu, 27 Apr 2006 10:21:54 +0000
parents 9f59d4c5aaea
children d67622addf51
line wrap: on
line diff
--- a/build-scripts/fatbuild.sh	Thu Apr 27 09:08:44 2006 +0000
+++ b/build-scripts/fatbuild.sh	Thu Apr 27 10:21:54 2006 +0000
@@ -3,8 +3,8 @@
 # Build a fat binary on Mac OS X, thanks Ryan!
 
 # PowerPC compiler flags (10.2 runtime compatibility)
-CC_PPC="gcc-3.3"
-CFLAGS_PPC="-arch ppc"
+CC_PPC="gcc-3.3 -arch ppc"
+CFLAGS_PPC=""
 CPPFLAGS_PPC="-DMAC_OS_X_VERSION_MIN_REQUIRED=1020 \
 -nostdinc \
 -F/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks \
@@ -18,8 +18,8 @@
 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk"
 
 # Intel compiler flags (10.4 runtime compatibility)
-CC_X86="gcc-4.0"
-CFLAGS_X86="-arch i386 -mmacosx-version-min=10.4"
+CC_X86="gcc-4.0 -arch i386"
+CFLAGS_X86="-mmacosx-version-min=10.4"
 CPPFLAGS_X86="-DMAC_OS_X_VERSION_MIN_REQUIRED=1040 \
 -nostdinc \
 -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks \