mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-23 07:50:03 +00:00
Removed redundant CFLAG on the Rpi2 and added Rpi3 platform
This commit is contained in:
parent
a7d0af9228
commit
037ea46f64
15
Makefile
15
Makefile
@ -188,7 +188,7 @@ else ifeq ($(platform), rpi1)
|
||||
LDFLAGS += $(PTHREAD_FLAGS) -lrt
|
||||
FLAGS += $(PTHREAD_FLAGS) -DHAVE_MKDIR
|
||||
IS_X86 = 0
|
||||
FLAGS += -DARM -marm -march=armv6j -mfpu=vfp -mfloat-abi=hard -funsafe-math-optimizations
|
||||
FLAGS += -DARM -marm -march=armv6j -mfpu=vfp -mfloat-abi=hard
|
||||
FLAGS += -fomit-frame-pointer -ffast-math
|
||||
else ifeq ($(platform), rpi2)
|
||||
TARGET := $(TARGET_NAME).so
|
||||
@ -198,7 +198,18 @@ else ifeq ($(platform), rpi2)
|
||||
LDFLAGS += $(PTHREAD_FLAGS) -lrt
|
||||
FLAGS += $(PTHREAD_FLAGS) -DHAVE_MKDIR
|
||||
IS_X86 = 0
|
||||
FLAGS += -DARM -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations
|
||||
FLAGS += -DARM -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
|
||||
FLAGS += -fomit-frame-pointer -ffast-math
|
||||
HAVE_NEON = 1
|
||||
else ifeq ($(platform), rpi3)
|
||||
TARGET := $(TARGET_NAME).so
|
||||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
|
||||
CC = gcc
|
||||
LDFLAGS += $(PTHREAD_FLAGS) -lrt
|
||||
FLAGS += $(PTHREAD_FLAGS) -DHAVE_MKDIR
|
||||
IS_X86 = 0
|
||||
FLAGS += -DARM -marm -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard
|
||||
FLAGS += -fomit-frame-pointer -ffast-math
|
||||
HAVE_NEON = 1
|
||||
else ifneq (,$(findstring armv,$(platform)))
|
||||
|
Loading…
Reference in New Issue
Block a user