slackware-current/source/xap/seamonkey/seamonkey.rust-1.45.diff
Patrick J Volkerding dae94cb773 Fri Jul 24 18:44:56 UTC 2020
ap/vim-8.2.1288-x86_64-1.txz:  Upgraded.
d/oprofile-1.4.0-x86_64-1.txz:  Upgraded.
xap/vim-gvim-8.2.1288-x86_64-1.txz:  Upgraded.
2020-07-25 08:59:54 +02:00

12 lines
393 B
Diff

--- ./mozilla/config/rules.mk.orig 2020-06-06 14:59:53.000000000 -0500
+++ ./mozilla/config/rules.mk 2020-07-24 13:16:53.707149335 -0500
@@ -874,7 +874,9 @@
ifndef DEVELOPER_OPTIONS
ifndef MOZ_DEBUG_RUST
# Enable link-time optimization for release builds.
+# Pass -Clto and CARGO_PROFILE_RELEASE_LTO=true.
cargo_rustc_flags += -C lto
+export CARGO_PROFILE_RELEASE_LTO=true
endif
endif