mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
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:
parent
8284963a8b
commit
d6dfa22c7b
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user