r914 - trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Sep 23 11:25:34 EDT 2006


Author: tjw
Date: 2006-09-23 11:25:34 -0400 (Sat, 23 Sep 2006)
New Revision: 914

Modified:
   trunk/Makefile
Log:
* 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


Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2006-09-22 12:53:03 UTC (rev 913)
+++ trunk/Makefile	2006-09-23 15:25:34 UTC (rev 914)
@@ -354,7 +354,7 @@
     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 @@
     #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




More information about the quake3-commits mailing list