From: notaz Date: Mon, 16 Dec 2024 01:18:07 +0000 (+0200) Subject: make: no line splitting X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7a6db3389310ca1818c7c604155a8e414142bbf;p=pcsx_rearmed.git make: no line splitting won't work on libretro-build-libnx-devkitpro , who tf knows why? --- 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 $@ $^