mirror of
https://github.com/libretro/Genesis-Plus-GX.git
synced 2024-11-23 16:29:40 +00:00
Add OSX version minor detection in Makefile
This commit is contained in:
parent
4854241606
commit
011cc39a19
@ -54,18 +54,27 @@ else ifeq ($(platform), osx)
|
||||
fpic := -fPIC
|
||||
SHARED := -dynamiclib -lz
|
||||
ifneq ($(arch),ppc)
|
||||
fpic += -mmacosx-version-min=10.6
|
||||
ENDIANNESS_DEFINES := -DLSB_FIRST
|
||||
endif
|
||||
PLATFORM_DEFINES := -DHAVE_ZLIB
|
||||
|
||||
OSXVER = `sw_vers -productVersion | cut -c 4`
|
||||
ifneq ($(OSXVER),9)
|
||||
fpic += -mmacosx-version-min=10.5
|
||||
endif
|
||||
else ifeq ($(platform), ios)
|
||||
TARGET := $(TARGET_NAME)_libretro_ios.dylib
|
||||
fpic := -fPIC
|
||||
SHARED := -dynamiclib -lz
|
||||
ENDIANNESS_DEFINES := -DLSB_FIRST
|
||||
PLATFORM_DEFINES := -DHAVE_ZLIB -miphoneos-version-min=5.0
|
||||
PLATFORM_DEFINES := -DHAVE_ZLIB
|
||||
|
||||
CC = clang -arch armv7 -isysroot $(IOSSDK) -miphoneos-version-min=5.0
|
||||
CC = clang -arch armv7 -isysroot $(IOSSDK)
|
||||
OSXVER = `sw_vers -productVersion | cut -c 4`
|
||||
ifneq ($(OSXVER),9)
|
||||
CC += -miphoneos-version-min=5.0
|
||||
PLATFORM_DEFINES += -miphoneos-version-min=5.0
|
||||
endif
|
||||
else ifeq ($(platform), qnx)
|
||||
TARGET := $(TARGET_NAME)_libretro_qnx.so
|
||||
fpic := -fPIC
|
||||
|
Loading…
Reference in New Issue
Block a user