Fix retroarch flycast libretro on the 552

This commit is contained in:
brooksytech 2022-09-21 13:12:42 -07:00
parent ffd2c58810
commit 1c1ff83fc8
No known key found for this signature in database
GPG key ID: 45B78D3C7B40B188
2 changed files with 2 additions and 3 deletions

View file

@ -55,8 +55,7 @@ pre_configure_target() {
fi
if [ "${OPENGLES_SUPPORT}" = yes ] && \
[ ! "${ARCH}" = "x86_64" ] && \
[ ! "${DEVICE}" = "RG552" ]; then
[ ! "${ARCH}" = "x86_64" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_CONFIGURE_OPTS_TARGET+=" --enable-opengles --enable-opengles3 --enable-opengles3_2 --enable-kms"
else

View file

@ -16,7 +16,7 @@ diff -rupN flycast.orig/Makefile flycast/Makefile
+ SINGLE_PREC_FLAGS = 1
+ FORCE_GLES = 1
+ CPUFLAGS += -DTARGET_LINUX_ARMv8 -frename-registers
+ CFLAGS += -march=armv8-a+crc -mcpu=cortex-a72 -mtune=cortex-a72 $(CPUFLAGS)
+ CFLAGS += -mno-outline-atomics -march=armv8-a+crc -mcpu=cortex-a72 -mtune=cortex-a72 $(CPUFLAGS)
+ CXXFLAGS += -march=armv8-a+crc -mcpu=cortex-a72 -mtune=cortex-a72 $(CPUFLAGS)
+ ASFLAGS += -march=armv8-a+crc -mcpu=cortex-a72 -c
+ WITH_DYNAREC=arm64