(macOS) Add arm64 target

This commit is contained in:
twinaphex 2021-01-27 12:21:39 +01:00
parent 8a6de7802b
commit 6d0201d645
2 changed files with 13 additions and 1 deletions

View File

@ -33,6 +33,10 @@ include:
# MacOS 64-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-x64.yml'
# MacOS ARM 64-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-arm64.yml'
################################## CELLULAR ################################
# Android
@ -84,6 +88,12 @@ libretro-build-osx-x64:
extends:
- .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

View File

@ -45,8 +45,10 @@ TARGET_NAME := mesen-s
LIBM = -lm
ifeq ($(ARCHFLAGS),)
ifeq ($(archs),ppc)
ifeq ($(arch),ppc)
ARCHFLAGS = -arch ppc -arch ppc64
else ifneq ($(arch),arm)
ARCHFLAGS = -arch arm64
else
ARCHFLAGS = -arch i386 -arch x86_64
endif