aboutsummaryrefslogtreecommitdiffstats
path: root/community/exa/minimize-size.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/exa/minimize-size.patch')
-rw-r--r--community/exa/minimize-size.patch17
1 files changed, 9 insertions, 8 deletions
diff --git a/community/exa/minimize-size.patch b/community/exa/minimize-size.patch
index 2c180dfa62..e61e99cdfb 100644
--- a/community/exa/minimize-size.patch
+++ b/community/exa/minimize-size.patch
@@ -1,13 +1,14 @@
-Reduces binary size from 822 kiB to 756 kiB.
+Minimize size of the resulting binary: 834 -> 634 kiB.
--- a/Cargo.toml
+++ b/Cargo.toml
-@@ -59,7 +59,7 @@
- vendored-openssl = ["git2/vendored-openssl"]
-
+@@ -60,6 +60,9 @@
+ # use LTO for smaller binaries (that take longer to build)
[profile.release]
--opt-level = 3
-+opt-level = "z"
- debug = false
lto = true
- panic = "abort"
++codegen-units = 1
++opt-level = "z"
++panic = "abort"
+
+
+ [package.metadata.deb]