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
tyrquake
Commits
9badc205
Commit
9badc205
authored
Jan 28, 2021
by
Libretro-Admin
Browse files
(Mac) Add cross-compilation for arm64
parent
ee70e1d6
Changes
1
Show whitespace changes
Inline
Side-by-side
Makefile
View file @
9badc205
...
...
@@ -104,7 +104,14 @@ ifeq ($(arch),ppc)
endif
OSXVER
=
`
sw_vers
-productVersion
|
cut
-d
.
-f
2
`
OSX_LT_MAVERICKS
=
`
((
$(OSXVER)
<
=
9
))
&&
echo
"YES"
`
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)
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