mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-27 01:50:21 +00:00
Use miphone-os-version-min for OSX 10.6 and up
This commit is contained in:
parent
643c5e3cf7
commit
437489e642
17
Makefile
17
Makefile
@ -369,7 +369,7 @@ ifeq ($(arch),ppc)
|
||||
else
|
||||
ENDIANNESS_DEFINES := -DLSB_FIRST
|
||||
endif
|
||||
OSXVER = `sw_vers -productVersion | cut -c 4`
|
||||
OSXVER = $(shell sw_vers -productVersion | cut -c 4)
|
||||
ifneq ($(OSXVER),9)
|
||||
fpic += -mmacosx-version-min=10.5
|
||||
endif
|
||||
@ -383,13 +383,16 @@ else ifeq ($(platform), ios)
|
||||
|
||||
CC = clang -arch armv7 -isysroot $(IOSSDK)
|
||||
CXX = clang++ -arch armv7 -isysroot $(IOSSDK)
|
||||
OSXVER = `sw_vers -productVersion | cut -c 4`
|
||||
ifneq ($(OSXVER),9)
|
||||
LDFLAGS += -miphone-version-min=5.0
|
||||
FLAGS += -miphone-version-min=5.0
|
||||
CC += -miphone-version-min=5.0
|
||||
CXX += -miphone-version-min=5.0
|
||||
OSXVER = $(shell sw_vers -productVersion | cut -c 4)
|
||||
ifeq ($(OSXVER),5)
|
||||
IPHONEMINVER = -miphone-version-min=5.0
|
||||
else
|
||||
IPHONEMINVER = -miphoneos-version-min=5.0
|
||||
endif
|
||||
LDFLAGS += $(IPHONEMINVER)
|
||||
FLAGS += $(IPHONEMINVER)
|
||||
CC += $(IPHONEMINVER)
|
||||
CXX += $(IPHONEMINVER)
|
||||
else ifeq ($(platform), qnx)
|
||||
TARGET := $(TARGET_NAME)_qnx.so
|
||||
fpic := -fPIC
|
||||
|
Loading…
Reference in New Issue
Block a user