优化编译

This commit is contained in:
2026-02-04 18:13:32 +08:00
parent e4b3cebf2b
commit 23ca92fceb
3 changed files with 2 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ jobs:
shell: bash
run: |
EXE_PATH=$(cabal list-bin quickjump)
upx --best --lzma "$EXE_PATH"
upx --best "$EXE_PATH"
# 提取可执行文件路径
- name: Find Executable

View File

@@ -1,3 +0,0 @@
ignore-project: False
split-sections: True
optimization: True

View File

@@ -56,9 +56,8 @@ extra-doc-files: CHANGELOG.md
common warnings
ghc-options:
-O1
-O2
-optl-s
-optl-Wl,--gc-sections
-optl-Wl,--strip-all
-fPIC