aports/community/exa/minimize-size.patch
Jakub Jirutka fce2b08da1 community/exa: minimize binary size
Again because prspkt removed this patch in
e67eaa7e3400301f22ca2ad4d34f311b737f5e39 >_<.
2021-04-05 16:30:02 +02:00

15 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]