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-minivmac
Commits
bc2ab786
Commit
bc2ab786
authored
Apr 05, 2022
by
phcoder
Browse files
Fix osx-arm64 compilation
parent
2e6736cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
bc2ab786
...
@@ -28,6 +28,14 @@ else ifeq ($(platform), osx)
...
@@ -28,6 +28,14 @@ else ifeq ($(platform), osx)
fpic
:=
-fPIC
fpic
:=
-fPIC
SHARED
:=
-dynamiclib
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
# Classic Platforms ####################
# Classic Platforms ####################
# Platform affix = classic_<ISA>_<µARCH>
# Platform affix = classic_<ISA>_<µARCH>
# Help at https://modmyclassic.com/comp
# Help at https://modmyclassic.com/comp
...
...
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