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
81-libretro
Commits
0bd28ef6
Unverified
Commit
0bd28ef6
authored
Jan 13, 2021
by
liberodark
Committed by
GitHub
Jan 13, 2021
Browse files
Add armv8 support
parent
33f014f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.libretro
View file @
0bd28ef6
...
...
@@ -299,6 +299,23 @@ else ifeq ($(platform), classic_armv7_a7)
endif
#######################################
# (armv8 a35, hard point, neon based) ###
# PlayStation Classic
else
ifeq
($(platform), classic_armv8_a35)
TARGET
:=
$(TARGET_NAME)
_libretro.so
fpic
:=
-fPIC
SHARED
:=
-shared
-Wl
,--version-script
=
build/link.T
-Wl
,--no-undefined
CFLAGS
+=
-DARM
-Ofast
\
-fuse-linker-plugin
\
-fno-stack-protector
-fno-ident
-fomit-frame-pointer
\
-fmerge-all-constants
-ffast-math
-funroll-all-loops
\
-marm
-mcpu
=
cortex-a35
-mfpu
=
neon-fp-armv8
-mfloat-abi
=
hard
CXXFLAGS
+=
$(CFLAGS)
CPPFLAGS
+=
$(CFLAGS)
ASFLAGS
+=
$(CFLAGS)
LDFLAGS
+=
-marm
-mcpu
=
cortex-a35
-mfpu
=
neon-fp-armv8
-mfloat-abi
=
hard
-Ofast
-flto
-fuse-linker-plugin
#######################################
# ARM
else
ifneq
(,$(findstring armv,$(platform)))
TARGET
:=
$(TARGET_NAME)
_libretro.so
...
...
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