优化编译
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -84,7 +84,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
EXE_PATH=$(cabal list-bin quickjump)
|
EXE_PATH=$(cabal list-bin quickjump)
|
||||||
upx --best --lzma "$EXE_PATH"
|
upx --best "$EXE_PATH"
|
||||||
|
|
||||||
# 提取可执行文件路径
|
# 提取可执行文件路径
|
||||||
- name: Find Executable
|
- 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
|
common warnings
|
||||||
ghc-options:
|
ghc-options:
|
||||||
-O1
|
-O2
|
||||||
-optl-s
|
-optl-s
|
||||||
-optl-Wl,--gc-sections
|
|
||||||
-optl-Wl,--strip-all
|
-optl-Wl,--strip-all
|
||||||
-fPIC
|
-fPIC
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user