mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-11 05:15:11 +01:00
Merge pull request #42 from vanfanel/master
Add rpi1 platform definitions with notable speed up on 8bit sega syst…
This commit is contained in:
commit
868fa27798
@ -176,6 +176,18 @@ else ifeq ($(platform), ctr)
|
||||
CFLAGS += -fomit-frame-pointer -ffast-math
|
||||
STATIC_LINKING = 1
|
||||
|
||||
# Raspberry Pi 1
|
||||
else ifeq ($(platform), rpi1)
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined
|
||||
PLATFORM_DEFINES := -DHAVE_ZLIB
|
||||
PLATFORM_DEFINES += -DARM11
|
||||
PLATFORM_DEFINES += -marm -march=armv6j -mfloat-abi=hard -mfpu=vfp -funsafe-math-optimizations
|
||||
ENDIANNESS_DEFINES := -DLSB_FIRST -DALIGN_LONG -DBYTE_ORDER=LITTLE_ENDIAN
|
||||
CFLAGS += -fomit-frame-pointer -ffast-math
|
||||
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
|
||||
|
||||
# Raspberry Pi 2
|
||||
else ifeq ($(platform), rpi2)
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
|
Loading…
Reference in New Issue
Block a user