mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-23 07:50:03 +00:00
Add Rpi2 platform defines.
This commit is contained in:
parent
097458df2a
commit
fe6f12eb86
11
Makefile
11
Makefile
@ -180,6 +180,17 @@ else ifeq ($(platform), wii)
|
||||
EXTRA_INCLUDES := -I$(DEVKITPRO)/libogc/include
|
||||
FLAGS += -DHAVE_MKDIR
|
||||
STATIC_LINKING = 1
|
||||
else ifeq ($(platform), rpi2)
|
||||
TARGET := $(TARGET_NAME).so
|
||||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
|
||||
CC = gcc
|
||||
LDFLAGS += $(PTHREAD_FLAGS)
|
||||
FLAGS += $(PTHREAD_FLAGS) -DHAVE_MKDIR
|
||||
IS_X86 = 0
|
||||
FLAGS += -DARM -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations
|
||||
FLAGS += -fomit-frame-pointer -ffast-math
|
||||
HAVE_NEON = 1
|
||||
else ifneq (,$(findstring armv,$(platform)))
|
||||
TARGET := $(TARGET_NAME).so
|
||||
fpic := -fPIC
|
||||
|
Loading…
Reference in New Issue
Block a user