:: commit 4f2c72490311e76d8417781850db19341a3428f9

Mintsuki <mintsuki@protonmail.com> — 2025-07-09 11:17

parents: e96edc179d

-gc-sections -> --gc-sections

diff --git a/common/common.mk b/common/common.mk
index bb8f3214..85c4c480 100644
--- a/common/common.mk
+++ b/common/common.mk
@@ -167,7 +167,7 @@ endif
 override LDFLAGS_FOR_TARGET += \
     -nostdlib \
     -z max-page-size=0x1000 \
-    -gc-sections
+    --gc-sections
 
 ifeq ($(TARGET),bios)
     override LDFLAGS_FOR_TARGET += \
diff --git a/decompressor/decompressor.mk b/decompressor/decompressor.mk
index 892737d7..ddc70292 100644
--- a/decompressor/decompressor.mk
+++ b/decompressor/decompressor.mk
@@ -43,7 +43,7 @@ override LDFLAGS_FOR_TARGET += \
     -m elf_i386 \
     -nostdlib \
     -z max-page-size=0x1000 \
-    -gc-sections \
+    --gc-sections \
     -static \
     -T linker.ld
 
tab: 248 wrap: offon