aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-09-23 15:25:34 +0000
committertjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-09-23 15:25:34 +0000
commit698e356d6ab6664ee151bbfb66751d974b5c6bc6 (patch)
treed84c6b35f48d983c752fe2077ca64ccfb4d04d07 /Makefile
parent6d4473ac4e8edeaa3a3dd4f2b69bdda30aff5e36 (diff)
downloadioquake3-aero-698e356d6ab6664ee151bbfb66751d974b5c6bc6.tar.gz
ioquake3-aero-698e356d6ab6664ee151bbfb66751d974b5c6bc6.zip
* Mac OS X compiler optimization flag -O3 (or any -O flag) generate broken
pk3 handling in the new XCode 2.4 * use more proper SSE compiler optimization flags for Mac OS X on x86 git-svn-id: svn://svn.icculus.org/quake3/trunk@914 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d556c19..20591f8 100644
--- a/Makefile
+++ b/Makefile
@@ -354,7 +354,7 @@ ifeq ($(PLATFORM),darwin)
LDFLAGS += -framework Carbon
endif
ifeq ($(ARCH),i386)
- OPTIMIZE += -msse2
+ OPTIMIZE += -march=prescott -mfpmath=sse
# x86 vm will crash without -mstackrealign since MMX instructions will be
# used no matter what and they corrupt the frame pointer in VM calls
BASE_CFLAGS += -mstackrealign
@@ -403,7 +403,7 @@ ifeq ($(PLATFORM),darwin)
#CLIENT_LDFLAGS += -L/usr/X11R6/$(LIB) -lX11 -lXext -lXxf86dga -lXxf86vm
endif
- OPTIMIZE += -O3 -ffast-math -falign-loops=16
+ OPTIMIZE += -ffast-math -falign-loops=16
ifneq ($(HAVE_VM_COMPILED),true)
BASE_CFLAGS += -DNO_VM_COMPILED