mirror of
https://github.com/libretro/Genesis-Plus-GX-Wide.git
synced 2024-11-24 00:39:55 +00:00
Add Raspberry Pi 2 platform definition with optimized flags and defines.
This commit is contained in:
parent
b1eb0641c6
commit
410119d5a0
@ -176,6 +176,17 @@ else ifeq ($(platform), ctr)
|
||||
CFLAGS += -fomit-frame-pointer -ffast-math
|
||||
STATIC_LINKING = 1
|
||||
|
||||
# Raspberry Pi 2
|
||||
else ifeq ($(platform), rpi2)
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined
|
||||
PLATFORM_DEFINES := -DHAVE_ZLIB
|
||||
PLATFORM_DEFINES += -DARM
|
||||
PLATFORM_DEFINES += -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations
|
||||
ENDIANNESS_DEFINES := -DLSB_FIRST -DALIGN_LONG -DBYTE_ORDER=LITTLE_ENDIAN -DUSE_DYNAMIC_ALLOC
|
||||
CFLAGS += -fomit-frame-pointer -ffast-math
|
||||
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
|
||||
|
||||
# Xbox 360
|
||||
else ifeq ($(platform), xenon)
|
||||
|
Loading…
Reference in New Issue
Block a user