Commit 28cd29b0 authored by Manuel Alfayate Corchete's avatar Manuel Alfayate Corchete Committed by Libretro-Admin
Browse files

Add rpi3 in 64bit mode platform, and remove CFLAGS that cause rendering errors...

Add rpi3 in 64bit mode platform, and remove CFLAGS that cause rendering errors on the Pi platforms (#77)
parent b14a26f2
......@@ -223,7 +223,7 @@ else ifeq ($(platform), rpi1)
SHARED := -shared -Wl,--version-script=common/libretro-link.T
CFLAGS += -DARM11
CFLAGS += -marm -march=armv6j -mfloat-abi=hard -mfpu=vfp
CFLAGS += -fomit-frame-pointer -ffast-math
CFLAGS += -fomit-frame-pointer
# Raspberry Pi 2
else ifeq ($(platform), rpi2)
......@@ -232,7 +232,7 @@ else ifeq ($(platform), rpi2)
SHARED := -shared -Wl,--version-script=common/libretro-link.T
CFLAGS += -DARM
CFLAGS += -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
CFLAGS += -fomit-frame-pointer -ffast-math
CFLAGS += -fomit-frame-pointer
# Raspberry Pi 3
else ifeq ($(platform), rpi3)
......@@ -241,7 +241,16 @@ else ifeq ($(platform), rpi3)
SHARED := -shared -Wl,--version-script=common/libretro-link.T
CFLAGS += -DARM
CFLAGS += -marm -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard
CFLAGS += -fomit-frame-pointer -ffast-math
CFLAGS += -fomit-frame-pointer
# Raspberry Pi 3 with 64bit kernel & libs
else ifeq ($(platform), rpi3_64)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
SHARED := -shared -Wl,--version-script=common/libretro-link.T
CFLAGS += -DARM
CFLAGS += -march=armv8-a+crc -mtune=cortex-a53
CFLAGS += -fomit-frame-pointer
# Classic Platforms ####################
# Platform affix = classic_<ISA>_<µARCH>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment