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
cannonball
Commits
24ae24a0
Unverified
Commit
24ae24a0
authored
Jun 22, 2019
by
Libretro-Admin
Committed by
GitHub
Jun 22, 2019
Browse files
Merge pull request #7 from vanfanel/master
Change Rpi compilation flags so they are really passed to GCC
parents
b687c7fb
f58bc50c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
24ae24a0
...
...
@@ -65,13 +65,17 @@ ifneq (,$(findstring unix,$(platform)))
# Raspberry Pi
ifneq
(,$(findstring rpi,$(platform)))
FLAGS
+=
-fomit-frame-pointer
-ffast-math
CFLAGS
+=
-fomit-frame-pointer
-ffast-math
CXXFLAGS
+=
-fomit-frame-pointer
-ffast-math
ifneq
(,$(findstring rpi1,$(platform)))
FLAGS
+=
-DARM
-marm
-march
=
armv6j
-mfpu
=
vfp
-mfloat-abi
=
hard
CFLAGS
+=
-DARM
-marm
-march
=
armv6j
-mfpu
=
vfp
-mfloat-abi
=
hard
CXXFLAGS
+=
-DARM
-marm
-march
=
armv6j
-mfpu
=
vfp
-mfloat-abi
=
hard
else
ifneq
(,$(findstring rpi2,$(platform)))
FLAGS
+=
-DARM
-marm
-mcpu
=
cortex-a7
-mfpu
=
neon-vfpv4
-mfloat-abi
=
hard
CFLAGS
+=
-DARM
-marm
-mcpu
=
cortex-a7
-mfpu
=
neon-vfpv4
-mfloat-abi
=
hard
CXXFLAGS
+=
-DARM
-marm
-mcpu
=
cortex-a7
-mfpu
=
neon-vfpv4
-mfloat-abi
=
hard
else
ifneq
(,$(findstring rpi3,$(platform)))
FLAGS
+=
-DARM
-marm
-mcpu
=
cortex-a53
-mfpu
=
neon-fp-armv8
-mfloat-abi
=
hard
CFLAGS
+=
-DARM
-marm
-mcpu
=
cortex-a53
-mfpu
=
neon-fp-armv8
-mfloat-abi
=
hard
CXXFLAGS
+=
-DARM
-marm
-mcpu
=
cortex-a53
-mfpu
=
neon-fp-armv8
-mfloat-abi
=
hard
endif
endif
...
...
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