Skip to content

Commit

Permalink
libretro-dosbox-pure: update cross compile patch
Browse files Browse the repository at this point in the history
Patched sourced from LibreELEC-RR repo

Signed-off-by: Matthias Reichl <hias@horus.com>
  • Loading branch information
HiassofT committed Nov 12, 2022
1 parent 8284963 commit d6dfa22
Showing 1 changed file with 14 additions and 7 deletions.
@@ -1,18 +1,25 @@
diff --git a/Makefile b/Makefile
index fed5ce1..6f1b23c 100644
--- a/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++
LDFLAGS := -Wl,--gc-sections -fno-ident
COMMONFLAGS += -pthread
+ifeq (1,1) # always
+ CPUFLAGS :=
+else
# ARM optimizations
PROCCPU := $(shell cat /proc/cpuinfo))
ifneq ($(and $(filter ARMv7,$(PROCCPU)),$(filter neon,$(PROCCPU))),)
@@ -174,6 +177,7 @@ else
ifeq ($(CPUFLAGS),)
# ARM optimizations
PROCCPU := $(shell cat /proc/cpuinfo))
@@ -180,6 +183,7 @@ else
CXX := g++-9
endif
endif
Expand Down

0 comments on commit d6dfa22

Please sign in to comment.