summaryrefslogtreecommitdiff
path: root/source/xap/mozilla-thunderbird/thunderbird.rust-1.45.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/mozilla-thunderbird/thunderbird.rust-1.45.diff')
-rw-r--r--source/xap/mozilla-thunderbird/thunderbird.rust-1.45.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/xap/mozilla-thunderbird/thunderbird.rust-1.45.diff b/source/xap/mozilla-thunderbird/thunderbird.rust-1.45.diff
new file mode 100644
index 00000000..9d1586f0
--- /dev/null
+++ b/source/xap/mozilla-thunderbird/thunderbird.rust-1.45.diff
@@ -0,0 +1,12 @@
+--- ./config/makefiles/rust.mk.orig 2020-07-24 12:54:18.411119017 -0500
++++ ./config/makefiles/rust.mk 2020-07-24 12:55:50.335121073 -0500
+@@ -47,7 +47,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
+