From a7a6db3389310ca1818c7c604155a8e414142bbf Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 16 Dec 2024 03:18:07 +0200 Subject: [PATCH] make: no line splitting won't work on libretro-build-libnx-devkitpro , who tf knows why? --- Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index e0c69350..7b9ac5ff 100644 --- a/Makefile +++ b/Makefile @@ -475,12 +475,8 @@ target_: $(TARGET) $(TARGET): $(OBJS) ifeq ($(PARTIAL_LINKING), 1) - $(LD) -o $(basename $(TARGET))1.o -r --gc-sections \ - $(addprefix -u ,$(shell cat frontend/libretro-extern)) \ - $(addprefix -u ,$(EXTRA_EXTERN_SYMS)) $^ - $(OBJCOPY) --keep-global-symbols=frontend/libretro-extern \ - $(addprefix -G ,$(EXTRA_EXTERN_SYMS)) \ - $(basename $(TARGET))1.o $(basename $(TARGET)).o + $(LD) -o $(basename $(TARGET))1.o -r --gc-sections $(addprefix -u ,$(shell cat frontend/libretro-extern)) $(addprefix -u ,$(EXTRA_EXTERN_SYMS)) $^ + $(OBJCOPY) --keep-global-symbols=frontend/libretro-extern $(addprefix -G ,$(EXTRA_EXTERN_SYMS)) $(basename $(TARGET))1.o $(basename $(TARGET)).o $(AR) rcs $@ $(basename $(TARGET)).o else ifeq ($(STATIC_LINKING), 1) $(AR) rcs $@ $^ -- 2.39.5