mirror of
https://github.com/libretro/gambatte-libretro.git
synced 2024-11-26 17:30:23 +00:00
Added rpi2 platform defines
This commit is contained in:
parent
9df855665f
commit
10b1d9f815
@ -157,6 +157,16 @@ else ifeq ($(platform), ctr)
|
||||
CXXFLAGS += $(CFLAGS)
|
||||
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
|
||||
PLATFORM_DEFINES := -DARM
|
||||
CFLAGS += -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations
|
||||
CFLAGS += -fomit-frame-pointer -ffast-math
|
||||
CXXFLAGS += $(CFLAGS)
|
||||
|
||||
# Xbox 360
|
||||
else ifeq ($(platform), xenon)
|
||||
TARGET := $(TARGET_NAME)_libretro_xenon360.a
|
||||
|
Loading…
Reference in New Issue
Block a user