[quake3-commits] r2184 - trunk
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Sep 28 22:44:08 EDT 2011
Author: thilo
Date: 2011-09-28 22:44:08 -0400 (Wed, 28 Sep 2011)
New Revision: 2184
Modified:
trunk/Makefile
Log:
BitBlt Patch #0000 (#5176)
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2011-09-28 03:13:30 UTC (rev 2183)
+++ trunk/Makefile 2011-09-29 02:44:08 UTC (rev 2184)
@@ -375,20 +375,20 @@
BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes
ifeq ($(ARCH),ppc)
- BASE_CFLAGS += -faltivec
+ BASE_CFLAGS += -arch ppc -faltivec -mmacosx-version-min=10.2
OPTIMIZEVM += -O3
endif
ifeq ($(ARCH),ppc64)
- BASE_CFLAGS += -faltivec
+ BASE_CFLAGS += -arch ppc64 -faltivec -mmacosx-version-min=10.2
endif
ifeq ($(ARCH),i386)
OPTIMIZEVM += -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 += -m32 -mstackrealign
+ BASE_CFLAGS += -arch i386 -m32 -mstackrealign
endif
ifeq ($(ARCH),x86_64)
- OPTIMIZEVM += -mfpmath=sse
+ OPTIMIZEVM += -arch x86_64 -mfpmath=sse
endif
BASE_CFLAGS += -fno-strict-aliasing -DMACOS_X -fno-common -pipe
@@ -428,7 +428,7 @@
SHLIBEXT=dylib
SHLIBCFLAGS=-fPIC -fno-common
- SHLIBLDFLAGS=-dynamiclib $(LDFLAGS)
+ SHLIBLDFLAGS=-dynamiclib $(LDFLAGS) -Wl,-U,_com_altivec
NOTSHLIBCFLAGS=-mdynamic-no-pic
More information about the quake3-commits
mailing list