优化编译
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
ignore-project: False
|
||||
split-sections: True
|
||||
optimization: True
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user