libretro-dosbox-pure: update cross compile patch

Patched sourced from LibreELEC-RR repo

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2022-11-12 12:50:53 +01:00
parent 5a27b1bf6f
commit 19546c226a

View File

@ -1,18 +1,25 @@
diff --git a/Makefile b/Makefile
index fed5ce1..6f1b23c 100644
--- a/Makefile --- a/Makefile
+++ b/Makefile +++ b/Makefile
@@ -150,6 +150,9 @@ else @@ -33,7 +33,7 @@ SOURCES := \
src/*/*/*.cpp
CPUFLAGS := $(MAKE_CPUFLAGS)
-STRIPCMD := strip --strip-all
+STRIPCMD := ${STRIP}
ifneq ($(ISWIN),)
OUTNAME := dosbox_pure_libretro.dll
CXX ?= g++
@@ -152,6 +152,9 @@ else
CXX ?= g++ CXX ?= g++
LDFLAGS := -Wl,--gc-sections -fno-ident LDFLAGS := -Wl,--gc-sections -fno-ident
COMMONFLAGS += -pthread COMMONFLAGS += -pthread
+ifeq (1,1) # always +ifeq (1,1) # always
+ CPUFLAGS := + CPUFLAGS :=
+else +else
# ARM optimizations ifeq ($(CPUFLAGS),)
PROCCPU := $(shell cat /proc/cpuinfo)) # ARM optimizations
ifneq ($(and $(filter ARMv7,$(PROCCPU)),$(filter neon,$(PROCCPU))),) PROCCPU := $(shell cat /proc/cpuinfo))
@@ -174,6 +177,7 @@ else @@ -180,6 +183,7 @@ else
CXX := g++-9 CXX := g++-9
endif endif
endif endif