distribution/packages/games/libretro/snes9x2005_plus/patches/01-snes9x2005_plux-01-fix-fpic.patch
2022-02-05 09:23:32 -05:00

26 lines
835 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -74,9 +74,10 @@
else ifneq (,$(findstring armv,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
+ FLAGS += $(fpic)
SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
- CC = gcc
- CXX = g++
+ #CC = gcc
+ #CXX = g++
PLATFORM_DEFINES += -marm
ifneq (,$(findstring softfloat,$(platform)))
PLATFORM_DEFINES += -mfloat-abi=softfp
@@ -84,8 +85,8 @@
PLATFORM_DEFINES += -mfloat-abi=hard
endif
ifneq (,$(findstring neon,$(platform)))
- FLAGS += -mfpu=neon
- ASFLAGS += -mfpu=neon
+ #FLAGS += -mfpu=neon
+ #ASFLAGS += -mfpu=neon
HAVE_NEON = 1
endif
PLATFORM_DEFINES += -DARM