mirror of
https://github.com/libretro/RACE.git
synced 2024-11-27 02:50:37 +00:00
(macOS) Add ARM 64bit MacOS support
This commit is contained in:
parent
669d966789
commit
b0b402d564
@ -33,6 +33,10 @@ include:
|
||||
- project: 'libretro-infrastructure/ci-templates'
|
||||
file: '/osx-x64.yml'
|
||||
|
||||
# MacOS ARM 64-bit
|
||||
- project: 'libretro-infrastructure/ci-templates'
|
||||
file: '/osx-arm64.yml'
|
||||
|
||||
################################## CELLULAR ################################
|
||||
# Android
|
||||
- project: 'libretro-infrastructure/ci-templates'
|
||||
@ -120,6 +124,12 @@ libretro-build-osx-x64:
|
||||
- .libretro-osx-x64-make-default
|
||||
- .core-defs
|
||||
|
||||
# MacOS ARM 64-bit
|
||||
libretro-build-osx-arm64:
|
||||
extends:
|
||||
- .libretro-osx-arm64-make-default
|
||||
- .core-defs
|
||||
|
||||
################################### CELLULAR #################################
|
||||
# Android ARMv7a
|
||||
android-armeabi-v7a:
|
||||
|
10
Makefile
10
Makefile
@ -61,13 +61,21 @@ else ifeq ($(platform),osx)
|
||||
LIBS :=
|
||||
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
|
||||
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
|
||||
fpic += -mmacosx-version-min=10.1
|
||||
MINVERSION=
|
||||
ifeq ($(OSX_LT_MAVERICKS),YES)
|
||||
MINVERSION += -mmacosx-version-min=10.1
|
||||
else ifeq ($(shell uname -p),arm)
|
||||
MINVERSION =
|
||||
endif
|
||||
ifndef ($(NOUNIVERSAL))
|
||||
CFLAGS += $(ARCHFLAGS)
|
||||
CXXFLAGS += $(ARCHFLAGS)
|
||||
LDFLAGS += $(ARCHFLAGS)
|
||||
MINVERSION=
|
||||
endif
|
||||
|
||||
fpic += $(MINVERSION)
|
||||
|
||||
# iOS
|
||||
else ifneq (,$(findstring ios,$(platform)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user