1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-24 17:16:18 +00:00
Lakka-LibreELEC/packages/emulation/libretro-dosbox-pure/patches/libretro-dosbox-pure-001-cross-compile-fix.patch
Matthias Reichl 19546c226a libretro-dosbox-pure: update cross compile patch
Patched sourced from LibreELEC-RR repo

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-11-12 16:32:54 +01:00

30 lines
598 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -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++
LDFLAGS := -Wl,--gc-sections -fno-ident
COMMONFLAGS += -pthread
+ifeq (1,1) # always
+ CPUFLAGS :=
+else
ifeq ($(CPUFLAGS),)
# ARM optimizations
PROCCPU := $(shell cat /proc/cpuinfo))
@@ -180,6 +183,7 @@ else
CXX := g++-9
endif
endif
+endif
ifeq ($(BUILD),DEBUG)
BUILDDIR := debug