(OSX PPC) Add more OSX PPC rules

This commit is contained in:
twinaphex 2014-04-14 06:41:46 +02:00
parent 9730ca3bdb
commit 4ecfc38c02
1 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,7 @@ ifeq ($(platform),)
platform = win
else ifneq ($(findstring Darwin,$(shell uname -a)),)
platform = osx
arch = intel
arch = intel
ifeq ($(shell uname -p),powerpc)
arch = ppc
endif
@ -28,6 +28,11 @@ else ifeq ($(platform), osx)
fpic := -fPIC
SHARED := -dynamiclib
arch = intel
ifeq ($(shell uname -p),powerpc)
arch = ppc
endif
ifeq ($(arch),ppc)
CXXFLAGS += -DBLARGG_BIG_ENDIAN=1 -D__ppc__
else