(OSX PPC) Add PPC detection
This commit is contained in:
@@ -10,6 +10,10 @@ else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
platform = win
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
platform = osx
|
||||
arch = intel
|
||||
ifeq ($(shell uname -p),powerpc)
|
||||
arch = ppc
|
||||
endif
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
platform = win
|
||||
endif
|
||||
@@ -22,6 +26,10 @@ EXE_EXT = .exe
|
||||
system_platform = win
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
system_platform = osx
|
||||
arch = intel
|
||||
ifeq ($(shell uname -p),powerpc)
|
||||
arch = ppc
|
||||
endif
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
system_platform = win
|
||||
endif
|
||||
@@ -36,9 +44,12 @@ ifeq ($(platform), unix)
|
||||
ZLIB_DIR := ./src/zlib
|
||||
else ifeq ($(platform), osx)
|
||||
TARGET := $(TARGET_NAME)_libretro.dylib
|
||||
fpic := -fPIC -mmacosx-version-min=10.6
|
||||
fpic := -fPIC
|
||||
SHARED := -dynamiclib
|
||||
ifneq ($(arch),ppc)
|
||||
fpic += -mmacosx-version-min=10.6
|
||||
ENDIANNESS_DEFINES = -DLSB_FIRST -DLOCAL_LE=1
|
||||
endif
|
||||
CFLAGS += -DHAVE_ASPRINTF
|
||||
ZLIB_DIR := ./src/zlib
|
||||
else ifeq ($(platform), qnx)
|
||||
|
||||
Reference in New Issue
Block a user