aports/community/czkawka/minimize-size.patch
2022-01-21 16:53:43 +01:00

12 lines
306 B
Diff

--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,4 +10,6 @@
panic = "unwind"
# LTO setting is disabled by default, because release mode is usually needed to develop app and compilation with LTO would take a lot of time
-#lto = "fat"
\ No newline at end of file
+lto = "fat"
+codegen-units = 1
+opt-level = "s"