# HG changeset patch # User Sam Lantinga # Date 1146133314 0 # Node ID 3a3e847aadb9cbe282d14dc51fa2fd1e7933d196 # Parent acfd00fbff5c520abc335c112dc1c9704b324670 Trying to fix fatbuild.sh on intel diff -r acfd00fbff5c -r 3a3e847aadb9 build-scripts/fatbuild.sh --- 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 \