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
254b66a0
Unverified
Commit
254b66a0
authored
Nov 22, 2021
by
Libretro-Admin
Committed by
GitHub
Nov 22, 2021
Browse files
Merge pull request #1106 from vanfanel/master
Fix compilation for Raspberry Pi 4 in 64bit mode and enable Vulkan
parents
ae670ea2
83f348e8
Pipeline
#69996
passed with stage
in 2 minutes and 24 seconds
Changes
1
Pipelines
10
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
254b66a0
...
...
@@ -174,13 +174,16 @@ else ifneq (,$(findstring rpi,$(platform)))
ifneq
(,$(findstring rpi4,$(platform)))
FORCE_GLES
=
1
# The Pi4 has mature Vulkan support when using up-to-date MESA.
HAVE_VULKAN
=
1
ifneq
(,$(findstring rpi4_64,$(platform)))
# 64-bit userspace
ARM_FLOAT_ABI_HARD
=
0
CPUFLAGS
+=
-DTARGET_LINUX_ARMv8
-frename-registers
CFLAGS
+=
-march
=
armv8-a+crc
-mcpu
=
cortex-a72
-mtune
=
cortex-a72
$(CPUFLAGS)
CXXFLAGS
+=
-march
=
armv8-a+crc
-mcpu
=
cortex-a72
-mtune
=
cortex-a72
$(CPUFLAGS)
ASFLAGS
+=
$(CFLAGS)
-c
-frename-registers
-fno-strict-aliasing
-ffast-math
-ftree-vectorize
# Look at GNU assembler man pages for actual aarch64 parameters, don't make them up.
ASFLAGS
+=
-march
=
armv8-a+crc
-mcpu
=
cortex-a72
-c
WITH_DYNAREC
=
arm64
else
# rpi4 flags are taken from rockpro64
...
...
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