mirror of
https://github.com/libretro/libretro-fceumm.git
synced 2025-01-19 15:23:34 +00:00
Update Makefile
This commit is contained in:
parent
1b27f5abaf
commit
6986db7cf8
@ -48,8 +48,9 @@ ifneq ($(arch),ppc)
|
||||
ENDIANNESS_DEFINES = -DLSB_FIRST -DLOCAL_LE=1
|
||||
endif
|
||||
CFLAGS += -DHAVE_ASPRINTF
|
||||
OSXVER = `sw_vers -productVersion | cut -c 4`
|
||||
ifneq ($(OSXVER),9)
|
||||
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
|
||||
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
|
||||
ifeq ($(OSX_LT_MAVERICKS),"YES")
|
||||
fpic += -mmacosx-version-min=10.5
|
||||
endif
|
||||
else ifeq ($(platform), qnx)
|
||||
@ -67,10 +68,16 @@ else ifeq ($(platform), ios)
|
||||
SHARED := -dynamiclib
|
||||
ENDIANNESS_DEFINES = -DLSB_FIRST -DLOCAL_LE=1
|
||||
CFLAGS += -DHAVE_ASPRINTF -DIOS
|
||||
|
||||
ifeq ($(IOSSDK),)
|
||||
IOSSDK := $(shell xcrun -sdk iphoneos -show-sdk-path)
|
||||
endif
|
||||
|
||||
CC = clang -arch armv7 -isysroot $(IOSSDK)
|
||||
CFLAGS += -DIOS
|
||||
OSXVER = `sw_vers -productVersion | cut -c 4`
|
||||
ifneq ($(OSXVER),9)
|
||||
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
|
||||
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
|
||||
ifeq ($(OSX_LT_MAVERICKS),"YES")
|
||||
CC += -miphoneos-version-min=5.0
|
||||
CFLAGS += -miphoneos-version-min=5.0
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user