Skip to content

Commit

Permalink
BitBlt Patch #0000 (#5176)
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.icculus.org/quake3/trunk@2184 edf5b092-35ff-0310-97b2-ce42778d08ea
  • Loading branch information
thilo committed Sep 29, 2011
1 parent 0422b0d commit 1de131d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -375,20 +375,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),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
Expand Down Expand Up @@ -428,7 +428,7 @@ ifeq ($(PLATFORM),darwin)

SHLIBEXT=dylib
SHLIBCFLAGS=-fPIC -fno-common
SHLIBLDFLAGS=-dynamiclib $(LDFLAGS)
SHLIBLDFLAGS=-dynamiclib $(LDFLAGS) -Wl,-U,_com_altivec

NOTSHLIBCFLAGS=-mdynamic-no-pic

Expand Down

0 comments on commit 1de131d

Please sign in to comment.