Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
snes9x2002
Commits
ff6a6e6e
Commit
ff6a6e6e
authored
Jan 29, 2021
by
Libretro-Admin
Browse files
(MacOS) Add ARM 64bit support
parent
0cdf9acc
Pipeline
#13617
passed with stages
in 9 minutes and 12 seconds
Changes
2
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ff6a6e6e
...
...
@@ -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'
...
...
@@ -109,6 +113,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
:
...
...
Makefile
View file @
ff6a6e6e
...
...
@@ -34,6 +34,15 @@ else ifeq ($(platform), osx)
TARGET
:=
$(TARGET_NAME)
_libretro.dylib
fpic
:=
-fPIC
SHARED
:=
-dynamiclib
ifeq
($(CROSS_COMPILE),1)
TARGET_RULE
=
-target
$(LIBRETRO_APPLE_PLATFORM)
-isysroot
$(LIBRETRO_APPLE_ISYSROOT)
CFLAGS
+=
$(TARGET_RULE)
CPPFLAGS
+=
$(TARGET_RULE)
CXXFLAGS
+=
$(TARGET_RULE)
LDFLAGS
+=
$(TARGET_RULE)
endif
else
ifneq
(,$(findstring ios,$(platform)))
TARGET
:=
$(TARGET_NAME)
_libretro_ios.dylib
fpic
:=
-fPIC
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment