diff options
author | tjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-08-02 05:12:20 +0000 |
---|---|---|
committer | tjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-08-02 05:12:20 +0000 |
commit | eca4dc8aae61005b39d73eef9a63d7f17b5ce811 (patch) | |
tree | 4947308d9fb124966c3261c1c7e3acd00cfaab20 /Makefile | |
parent | 3b416e75cf3a6c81d4dd1d83418a3b42d739f72f (diff) | |
download | ioquake3-aero-eca4dc8aae61005b39d73eef9a63d7f17b5ce811.tar.gz ioquake3-aero-eca4dc8aae61005b39d73eef9a63d7f17b5ce811.zip |
bug 2723
* ARCH should be i386 instead of x86 for Mac OS X too
git-svn-id: svn://svn.icculus.org/quake3/trunk@831 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -293,7 +293,7 @@ ifeq ($(PLATFORM),darwin) # the -m linker flag, but you can't shut up the warnings USE_OPENAL_DLOPEN=1 else - ifeq ($(BUILD_MACOSX_UB),x86) + ifeq ($(BUILD_MACOSX_UB),i386) CC=gcc-4.0 BASE_CFLAGS += -arch i386 -DSMP \ -isysroot /Developer/SDKs/MacOSX10.4u.sdk \ @@ -304,7 +304,7 @@ ifeq ($(PLATFORM),darwin) -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 - ARCH=x86 + ARCH=i386 BUILD_SERVER=0 else # for whatever reason using the headers in the MacOSX SDKs tend to throw @@ -321,7 +321,7 @@ ifeq ($(PLATFORM),darwin) # in the PPC vm (should be a better non-Carbon way). LDFLAGS += -framework Carbon endif - ifeq ($(ARCH),x86) + ifeq ($(ARCH),i386) OPTIMIZE += -msse2 # x86 vm will crash without -mstackrealign since MMX instructions will be # used no matter what and they corrupt the frame pointer in VM calls |