mirror of
https://github.com/libretro/oberon-risc-emu.git
synced 2024-12-04 07:00:52 +00:00
ios support
This commit is contained in:
parent
e7bf0bb74a
commit
cdc70b1d56
@ -107,8 +107,8 @@ else ifeq ($(platform), osx)
|
||||
# iOS
|
||||
else ifneq (,$(findstring ios,$(platform)))
|
||||
TARGET := $(TARGET_NAME)_libretro_ios.dylib
|
||||
fpic := -fPIC
|
||||
SHARED := -dynamiclib
|
||||
fpic := -fPIC
|
||||
ifeq ($(IOSSDK),)
|
||||
IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
|
||||
endif
|
||||
@ -117,6 +117,7 @@ else ifneq (,$(findstring ios,$(platform)))
|
||||
else
|
||||
CC = clang -arch armv7 -isysroot $(IOSSDK)
|
||||
endif
|
||||
LD = $(CC)
|
||||
CFLAGS += -DIOS
|
||||
CFLAGS += -DARM
|
||||
ifeq ($(platform),$(filter $(platform),ios9 ios-arm64))
|
||||
|
Loading…
Reference in New Issue
Block a user