1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/community/exa/minimize-size.patch
Jakub Jirutka fce2b08da1 community/exa: minimize binary size
Again because prspkt removed this patch in
e67eaa7e34 >_<.
2021-04-05 16:30:02 +02:00

14 lines
280 B
Diff

Minimize size of the resulting binary: 834 -> 634 kiB.
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -60,6 +60,9 @@
# use LTO for smaller binaries (that take longer to build)
[profile.release]
lto = true
+codegen-units = 1
+opt-level = "z"
+panic = "abort"
[package.metadata.deb]