mirror of
https://github.com/libretro/libretro-atari800.git
synced 2024-11-23 07:39:41 +00:00
Fix iOS build (#107)
This commit is contained in:
parent
683a37f25e
commit
648bf37e75
8
Makefile
8
Makefile
@ -105,7 +105,7 @@ else ifneq (,$(findstring ios,$(platform)))
|
|||||||
fpic := -fPIC
|
fpic := -fPIC
|
||||||
SHARED := -dynamiclib
|
SHARED := -dynamiclib
|
||||||
MINVERSION :=
|
MINVERSION :=
|
||||||
CFLAGS += -Wno-error=implicit-function-declaration -DHAVE_POSIX_MEMALIGN -DIOS -marm
|
CFLAGS += -Wno-error=implicit-function-declaration -DHAVE_POSIX_MEMALIGN -DIOS
|
||||||
|
|
||||||
ifeq ($(IOSSDK),)
|
ifeq ($(IOSSDK),)
|
||||||
IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
|
IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
|
||||||
@ -116,9 +116,9 @@ ifeq ($(platform),$(filter $(platform),ios-arm64))
|
|||||||
CC_AS = cc -arch arm64 -isysroot $(IOSSDK)
|
CC_AS = cc -arch arm64 -isysroot $(IOSSDK)
|
||||||
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
|
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
|
||||||
else
|
else
|
||||||
CC = cc -arch armv7 -isysroot $(IOSSDK)
|
CC = cc -marm -arch armv7 -isysroot $(IOSSDK)
|
||||||
CC_AS = cc -arch armv7 -isysroot $(IOSSDK)
|
CC_AS = cc -marm -arch armv7 -isysroot $(IOSSDK)
|
||||||
CXX = c++ -arch armv7 -isysroot $(IOSSDK)
|
CXX = c++ -marm -arch armv7 -isysroot $(IOSSDK)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CC_AS = perl ./tools/gas-preprocessor.pl $(CC)
|
CC_AS = perl ./tools/gas-preprocessor.pl $(CC)
|
||||||
|
Loading…
Reference in New Issue
Block a user