r883 - trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Aug 31 10:33:37 EDT 2006


Author: tjw
Date: 2006-08-31 10:33:37 -0400 (Thu, 31 Aug 2006)
New Revision: 883

Modified:
   trunk/Makefile
Log:
* fixed Mac OS X cross compiling from a ppc host

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2006-08-30 15:16:36 UTC (rev 882)
+++ trunk/Makefile	2006-08-31 14:33:37 UTC (rev 883)
@@ -302,14 +302,15 @@
   ifeq ($(BUILD_MACOSX_UB),i386)
     CC=gcc-4.0
     BASE_CFLAGS += -arch i386 -DSMP \
-      -isysroot /Developer/SDKs/MacOSX10.4u.sdk \
       -mmacosx-version-min=10.4 \
       -DMAC_OS_X_VERSION_MIN_REQUIRED=1040 -nostdinc \
       -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks \
       -I/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/include \
       -isystem /Developer/SDKs/MacOSX10.4u.sdk/usr/include
-    LDFLAGS = -mmacosx-version-min=10.4 \
-      -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1
+    LDFLAGS = -arch i386 -mmacosx-version-min=10.4 \
+      -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1 \
+      -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks \
+      -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
     ARCH=i386
     BUILD_SERVER=0
   else




More information about the quake3-commits mailing list