Reduce helper binary size

Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
2026-06-22 08:08:24 +08:00
parent 993826e16e
commit c234838635
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -26,6 +26,7 @@ else
CFLAGS += -O2 -ffunction-sections -fdata-sections
CXXFLAGS += -O2 -ffunction-sections -fdata-sections
LDFLAGS += -Wl,--gc-sections -s
HELPER_LDFLAGS += -Wl,--gc-sections -s
endif
C_SRCS := \