From f1e29aaba9f0587b8d5189ce128b6a7895063c47 Mon Sep 17 00:00:00 2001 From: LuChiChick <1084116302@qq.com> Date: Mon, 23 Mar 2026 10:12:59 +0800 Subject: [PATCH] Modified the Makefile to enable stripping of extra information during the linking stage, further reducing the size of the Release build. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ea14888..76b8be2 100644 --- a/Makefile +++ b/Makefile @@ -194,7 +194,7 @@ $(BUILD_DIR)/$(SUB_DIR_DEBUG): | $(BUILD_DIR) # Release 最终可执行文件编译任务 $(BUILD_DIR)/$(SUB_DIR_RELEASE)/$(TARGET_FILE_NAME).exe: $(RELEASE_OBJECTS) @echo ====== [Release] All File Compiled. Now Linking... ====== - $(CXX_COMPLIER) $(RELEASE_OBJECTS) -static -o $@ $(LIB_LINK) $(LDFLAGS) + $(CXX_COMPLIER) $(RELEASE_OBJECTS) -static -s -o $@ $(LIB_LINK) $(LDFLAGS) @echo ====== [Release] Program Link Finished ====== # Debug 最终可执行文件编译任务