mirror of
https://github.com/libretro/stella2014-libretro.git
synced 2024-11-27 01:40:57 +00:00
More buildfixes
This commit is contained in:
parent
6c81437f18
commit
9d60a76782
8
Makefile
8
Makefile
@ -95,10 +95,10 @@ ifeq ($(IOSSDK),)
|
||||
endif
|
||||
|
||||
ifeq ($(platform),ios-arm64)
|
||||
CC = cc -arch arm64 -isysroot $(IOSSDK)
|
||||
CC = clang -arch arm64 -isysroot $(IOSSDK)
|
||||
CXX = clang++ -arch arm64 -isysroot $(IOSSDK)
|
||||
else
|
||||
CC = cc -arch armv7 -isysroot $(IOSSDK)
|
||||
CC = clang -arch armv7 -isysroot $(IOSSDK)
|
||||
CXX = clang++ -arch armv7 -isysroot $(IOSSDK)
|
||||
endif
|
||||
ifeq ($(platform),$(filter $(platform),ios9 ios-arm64))
|
||||
@ -117,8 +117,8 @@ else ifeq ($(platform), tvos-arm64)
|
||||
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
|
||||
endif
|
||||
|
||||
CC = cc -arch arm64 -isysroot $(IOSSDK)
|
||||
CCX = c++ -arch arm64 -isysroot $(IOSSDK)
|
||||
CC = clang -arch arm64 -isysroot $(IOSSDK)
|
||||
CCX = clang++ -arch arm64 -isysroot $(IOSSDK)
|
||||
|
||||
else ifeq ($(platform), theos_ios)
|
||||
DEPLOYMENT_IOSVERSION = 5.0
|
||||
|
@ -16,6 +16,7 @@ endif
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := retro
|
||||
LOCAL_SRC_FILES := $(SOURCES_CXX) $(SOURCES_C)
|
||||
LOCAL_CFLAGS := $(COREFLAGS)
|
||||
LOCAL_CXXFLAGS := $(COREFLAGS)
|
||||
LOCAL_LDFLAGS := -Wl,-version-script=$(LIBRETRO_DIR)/link.T
|
||||
LOCAL_CPP_FEATURES := exceptions
|
||||
|
Loading…
Reference in New Issue
Block a user