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
jaxe
Commits
b48ef65c
Unverified
Commit
b48ef65c
authored
Apr 27, 2022
by
Kurtis Dinelle
Committed by
GitHub
Apr 27, 2022
Browse files
Merge pull request #14 from phcoder/osx-arm
Fix osx-arm64
parents
e903bf8f
4748a6f3
Pipeline
#118648
passed with stages
in 8 minutes and 6 seconds
Changes
1
Pipelines
64
Hide whitespace changes
Inline
Side-by-side
Makefile.libretro
View file @
b48ef65c
...
...
@@ -39,21 +39,6 @@ ifneq ($(GIT_VERSION)," unknown")
endif
CFLAGS
+=
-std
=
c99
ifeq
($(ARCHFLAGS),)
ifeq
($(archs),ppc)
ARCHFLAGS
=
-arch
ppc
-arch
ppc64
else
ARCHFLAGS
=
-arch
i386
-arch
x86_64
endif
endif
ifeq
($(platform), osx)
ifndef
($(NOUNIVERSAL))
CXXFLAGS
+=
$(ARCHFLAGS)
LFLAGS
+=
$(ARCHFLAGS)
endif
endif
ifeq
($(STATIC_LINKING),1)
EXT
:=
a
endif
...
...
@@ -82,6 +67,14 @@ else ifneq (,$(findstring osx,$(platform)))
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