From 0ce638d8c93da839f1b1d543aee65540652561bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juliano=20Dorig=C3=A3o?= Date: Sat, 11 Sep 2021 16:17:05 -0400 Subject: [PATCH] Added rpi3_64 to makefile --- Makefile.libretro | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.libretro b/Makefile.libretro index 2f2bb5a..d4e86bf 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -240,6 +240,14 @@ else ifeq ($(platform), rpi3) CFLAGS += -marm -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -funsafe-math-optimizations CFLAGS += -fomit-frame-pointer -fstrict-aliasing -ffast-math +# Raspberry Pi 3 (64 bit) +else ifeq ($(platform), rpi3_64) + TARGET := $(TARGET_NAME)_libretro.so + fpic := -fPIC + SHARED := -shared -Wl,--version-script=src/drivers/libretro/link.T -Wl,-no-undefined + CFLAGS += -mcpu=cortex-a53 -mtune=cortex-a53 -funsafe-math-optimizations + CFLAGS += -fomit-frame-pointer -fstrict-aliasing -ffast-math + # Raspberry Pi 4 (64-bit) else ifeq ($(platform), rpi4) TARGET := $(TARGET_NAME)_libretro.so