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
libretro-gme
Commits
52a9a349
Commit
52a9a349
authored
Jan 28, 2021
by
Libretro-Admin
Browse files
(macOS) Set up CROSS_COMPILE for ARM 64bit
parent
8ca45fa8
Pipeline
#14145
passed with stages
in 7 minutes and 33 seconds
Changes
1
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
52a9a349
...
...
@@ -47,7 +47,17 @@ else ifeq ($(platform), osx)
SHARED
:=
-dynamiclib
OSXVER
=
`
sw_vers
-productVersion
|
cut
-d
.
-f
2
`
OSX_LT_MAVERICKS
=
`
((
$(OSXVER)
<
=
9
))
&&
echo
"YES"
`
fpic
+=
-mmacosx-version-min
=
10.1
ifeq
($(OSX_LT_MAVERICKS),YES)
fpic
+=
-mmacosx-version-min
=
10.1
endif
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
# iOS
else
ifneq
(,$(findstring ios,$(platform)))
...
...
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