summaryrefslogtreecommitdiff
path: root/user/thunderbird/rust-32bit.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-19 04:01:56 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-21 02:08:32 -0600
commit603147ea5d9a4b815bf9448dee4c8648e3eefbc4 (patch)
treeff4c84fe8207b7c90f124e5cbbe925b675a3cbd7 /user/thunderbird/rust-32bit.patch
parentdfe2d88752285a8da3bb1501caf9e804c5294150 (diff)
downloadpackages-603147ea5d9a4b815bf9448dee4c8648e3eefbc4.tar.gz
packages-603147ea5d9a4b815bf9448dee4c8648e3eefbc4.tar.bz2
packages-603147ea5d9a4b815bf9448dee4c8648e3eefbc4.tar.xz
packages-603147ea5d9a4b815bf9448dee4c8648e3eefbc4.zip
user/thunderbird: Update to 91.13.0
Diffstat (limited to 'user/thunderbird/rust-32bit.patch')
-rw-r--r--user/thunderbird/rust-32bit.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/thunderbird/rust-32bit.patch b/user/thunderbird/rust-32bit.patch
new file mode 100644
index 000000000..cff36e90b
--- /dev/null
+++ b/user/thunderbird/rust-32bit.patch
@@ -0,0 +1,32 @@
+--- firefox-91.13.0/config/makefiles/rust.mk.old 2022-08-15 13:04:32.000000000 -0500
++++ firefox-91.13.0/config/makefiles/rust.mk 2022-11-15 01:35:10.150096648 -0600
+@@ -64,19 +64,19 @@
+ # These flags are passed via `cargo rustc` and only apply to the final rustc
+ # invocation (i.e., only the top-level crate, not its dependencies).
+ cargo_rustc_flags = $(CARGO_RUSTCFLAGS)
+-ifndef DEVELOPER_OPTIONS
+-ifndef MOZ_DEBUG_RUST
++#ifndef DEVELOPER_OPTIONS
++#ifndef MOZ_DEBUG_RUST
+ # Enable link-time optimization for release builds, but not when linking
+ # gkrust_gtest. And not when doing cross-language LTO.
+-ifndef MOZ_LTO_RUST_CROSS
+-ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE)))
+-cargo_rustc_flags += -Clto
+-endif
++#ifndef MOZ_LTO_RUST_CROSS
++#ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE)))
++#cargo_rustc_flags += -Clto
++#endif
+ # We need -Cembed-bitcode=yes for all crates when using -Clto.
+-RUSTFLAGS += -Cembed-bitcode=yes
+-endif
+-endif
+-endif
++#RUSTFLAGS += -Cembed-bitcode=yes
++#endif
++#endif
++#endif
+
+ ifdef CARGO_INCREMENTAL
+ export CARGO_INCREMENTAL