0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-04-01 13:38:54 +00:00

libretro-stella: update patch

This commit is contained in:
Rudi Heitbaum
2024-12-17 23:48:11 +00:00
committed by Garrett Brown
parent 7d22c1a852
commit cca645b532

@ -2,13 +2,17 @@ diff --git a/src/libretro/Makefile b/src/libretro/Makefile
index a170992343..6a828521e5 100644
--- a/src/os/libretro/Makefile
+++ b/src/os/libretro/Makefile
@@ -57,11 +57,10 @@ ifneq ($(GIT_VERSION)," unknown")
@@ -57,7 +57,6 @@
CXXFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
endif
-GET_STATIC_ARG=$(if $(filter $(shell $(CXX) -print-file-name=$1.a),$1.a),,-static-$1)
# Unix
ifneq (,$(findstring unix,$(platform)))
GPP_MAJOR := $(shell $(CXX) -dumpversion | cut -d '.' -f 1)
@@ -65,7 +64,7 @@
$(error Unable to determine $(CXX) version)
endif
CXXFLAGS += $(LTO)
- LDFLAGS += $(LTO) $(PTHREAD_FLAGS) $(call GET_STATIC_ARG,libgcc) $(call GET_STATIC_ARG,libstdc++)
+ LDFLAGS += $(LTO) $(PTHREAD_FLAGS)