diff options
author | tjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-08-31 14:33:37 +0000 |
---|---|---|
committer | tjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-08-31 14:33:37 +0000 |
commit | 701b4d4c112ee5af0a5965ffc227fe4d3d7b1634 (patch) | |
tree | f41c3bafbbfe32035bae2dd6c22e4d796e0a3e6a | |
parent | 7e80458736953fcaf39086a4d81d245ee4e14128 (diff) | |
download | ioquake3-aero-701b4d4c112ee5af0a5965ffc227fe4d3d7b1634.tar.gz ioquake3-aero-701b4d4c112ee5af0a5965ffc227fe4d3d7b1634.zip |
* fixed Mac OS X cross compiling from a ppc host
git-svn-id: svn://svn.icculus.org/quake3/trunk@883 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -302,14 +302,15 @@ ifeq ($(PLATFORM),darwin) 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 |