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
hatari
Commits
c312475c
Unverified
Commit
c312475c
authored
Mar 17, 2020
by
Libretro-Admin
Committed by
GitHub
Mar 17, 2020
Browse files
Merge pull request #44 from paradadf/patch-1
Add arm platform
parents
ec1b59c4
094253bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.libretro
View file @
c312475c
...
...
@@ -79,6 +79,28 @@ else ifeq ($(platform), osx)
SHARED
:=
-dynamiclib
PLATFLAGS
:=
-DLSB_FIRST
-DALIGN_DWORD
# ARM
else
ifneq
(,$(findstring armv,$(platform)))
CC
=
gcc
TARGET
:=
$(TARGET_NAME)
_libretro.so
fpic
:=
-fPIC
-fsigned-char
SHARED
:=
-lz
-lpthread
-shared
-Wl
,--version-script
=
$(LIBRETRO_DIR)
/link.T
-Wl
,--no-undefined
PLATFLAGS
:=
-DLSB_FIRST
-DALIGN_DWORD
CFLAGS
+=
-marm
ifneq
(,$(findstring neon,$(platform)))
CFLAGS
+=
-mfpu
=
neon
ASFLAGS
+=
-mfpu
=
neon
HAVE_NEON
=
1
endif
ifneq
(,$(findstring softfloat,$(platform)))
CFLAGS
+=
-mfloat-abi
=
softfp
ASFLAGS
+=
-mfloat-abi
=
softfp
else
ifneq
(,$(findstring hardfloat,$(platform)))
CFLAGS
+=
-mfloat-abi
=
hard
ASFLAGS
+=
-mfloat-abi
=
hard
endif
CFLAGS
+=
-DARM
# 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