mirror of
https://github.com/libretro/prosystem-libretro.git
synced 2024-11-27 02:00:30 +00:00
Add rpi2 platform definitions
This commit is contained in:
parent
24bf5ebb2b
commit
e28898d953
10
Makefile
10
Makefile
@ -130,6 +130,16 @@ else ifeq ($(platform), ctr)
|
||||
FLAGS += -DARM11 -D_3DS
|
||||
STATIC_LINKING = 1
|
||||
|
||||
# Raspberry Pi 2
|
||||
else ifeq ($(platform), rpi2)
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
|
||||
CFLAGS+=-fsigned-char
|
||||
FLAGS += -DARM
|
||||
FLAGS += -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations
|
||||
FLAGS += -fomit-frame-pointer -ffast-math
|
||||
|
||||
# Windows
|
||||
else
|
||||
TARGET := $(TARGET_NAME)_libretro.dll
|
||||
|
Loading…
Reference in New Issue
Block a user