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
flycast
Commits
7a5db825
Commit
7a5db825
authored
Sep 11, 2018
by
root
Browse files
Small fix for gcc8.
The linker will segfault for me when mcpu is not specified.
parent
6071773c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
7a5db825
...
...
@@ -196,8 +196,8 @@ else ifneq (,$(findstring odroid,$(platform)))
else
ifneq
(,$(findstring ODROID-XU3,$(BOARD)))
# ODROID-XU3 & -XU3 Lite
ifeq
"$(shell expr `gcc -dumpversion` \>= 4.9)" "1"
CFLAGS
+=
-march
=
armv7ve
-mtune
=
cortex-a15.cortex-a7
-mfpu
=
neon-vfpv4
-mvectorize-with-neon-quad
CXXFLAGS
+=
-march
=
armv7ve
-mtune
=
cortex-a15.cortex-a7
-mfpu
=
neon-vfpv4
-mvectorize-with-neon-quad
CFLAGS
+=
-march
=
armv7ve
-mcpu
=
cortex-a15.cortex-a7
-mtune
=
cortex-a15.cortex-a7
-mfpu
=
neon-vfpv4
-mvectorize-with-neon-quad
CXXFLAGS
+=
-march
=
armv7ve
-mcpu
=
cortex-a15.cortex-a7
-mtune
=
cortex-a15.cortex-a7
-mfpu
=
neon-vfpv4
-mvectorize-with-neon-quad
else
CFLAGS
+=
-mcpu
=
cortex-a9
-mfpu
=
neon
CXXFLAGS
+=
-mcpu
=
cortex-a9
-mfpu
=
neon
...
...
@@ -205,8 +205,8 @@ else ifneq (,$(findstring odroid,$(platform)))
else
ifneq
(,$(findstring ODROID-XU4,$(BOARD)))
# ODROID-XU4 on newer kernels now identify as ODROID-XU4
ifeq
"$(shell expr `gcc -dumpversion` \>= 4.9)" "1"
CFLAGS
+=
-march
=
armv7ve
-mtune
=
cortex-a15.cortex-a7
-mfpu
=
neon-vfpv4
-mvectorize-with-neon-quad
CXXFLAGS
+=
-march
=
armv7ve
-mtune
=
cortex-a15.cortex-a7
-mfpu
=
neon-vfpv4
-mvectorize-with-neon-quad
CFLAGS
+=
-march
=
armv7ve
-mcpu
=
cortex-a15.cortex-a7
-mtune
=
cortex-a15.cortex-a7
-mfpu
=
neon-vfpv4
-mvectorize-with-neon-quad
CXXFLAGS
+=
-march
=
armv7ve
-mcpu
=
cortex-a15.cortex-a7
-mtune
=
cortex-a15.cortex-a7
-mfpu
=
neon-vfpv4
-mvectorize-with-neon-quad
else
CFLAGS
+=
-mcpu
=
cortex-a9
-mfpu
=
neon
CXXFLAGS
+=
-mcpu
=
cortex-a9
-mfpu
=
neon
...
...
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