summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-09-29 02:44:08 +0000
committerTim Angus <tim@ngus.net>2013-01-10 23:38:30 +0000
commitcb0bbbbcfb44eabffac1668b607bfb690a05f2db (patch)
tree048e5af401c74bea037365fdf79704d407c72473 /Makefile
parente54ada09c0cd1332b8028fae8b46128f5fe8ea33 (diff)
BitBlt Patch #0000 (#5176)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 75ece978..2cb52a59 100644
--- a/Makefile
+++ b/Makefile
@@ -367,20 +367,20 @@ ifeq ($(PLATFORM),darwin)
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),x86)
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
@@ -420,7 +420,7 @@ ifeq ($(PLATFORM),darwin)
SHLIBEXT=dylib
SHLIBCFLAGS=-fPIC -fno-common
- SHLIBLDFLAGS=-dynamiclib $(LDFLAGS)
+ SHLIBLDFLAGS=-dynamiclib $(LDFLAGS) -Wl,-U,_com_altivec
NOTSHLIBCFLAGS=-mdynamic-no-pic