make: no line splitting
authornotaz <notasas@gmail.com>
Mon, 16 Dec 2024 01:18:07 +0000 (03:18 +0200)
committernotaz <notasas@gmail.com>
Mon, 16 Dec 2024 01:18:07 +0000 (03:18 +0200)
won't work on libretro-build-libnx-devkitpro , who tf knows why?

Makefile

index e0c6935..7b9ac5f 100644 (file)
--- 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 $@ $^