summaryrefslogtreecommitdiff
path: root/www/firefox-esr/files/patch-bug1640982
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2020-07-17 06:44:04 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2020-07-17 06:44:04 +0000
commitb0f1d6430efe60a7d9a3aa11e8ed28a80842469b (patch)
tree99d9ac6360ee6f7d04f5cb7d7f1db83a19a355f8 /www/firefox-esr/files/patch-bug1640982
parentmultimedia/kodi-addon-pvr-hts: Update to 4.4.21 to chase kodi update (diff)
lang/rust: Update to 1.45.0
- This Rust release comes with LLVM 10. Drop the LLVM patches we no longer need. - On FreeBSD 13.0 powerpc64 set the elfv2 ABI explicitly in the Rust target instead of patching LLVM. - Build LLVM with Ninja. It can shorten the build time slightly. - Force rebuild all consumers to catch regressions early Changes: https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html Tested by: mikael, pkubaj, tobik With hat: rust Differential Revision: https://reviews.freebsd.org/D25658
Notes
Notes: svn path=/head/; revision=542412
Diffstat (limited to 'www/firefox-esr/files/patch-bug1640982')
-rw-r--r--www/firefox-esr/files/patch-bug164098215
1 files changed, 15 insertions, 0 deletions
diff --git a/www/firefox-esr/files/patch-bug1640982 b/www/firefox-esr/files/patch-bug1640982
new file mode 100644
index 000000000000..fe3282f3b3cc
--- /dev/null
+++ b/www/firefox-esr/files/patch-bug1640982
@@ -0,0 +1,15 @@
+Unbreak build with Rust 1.45.0
+
+error: options `-C embed-bitcode=no` and `-C lto` are incompatible
+
+--- config/makefiles/rust.mk.orig 2020-06-22 22:55:02 UTC
++++ config/makefiles/rust.mk
+@@ -47,7 +47,7 @@ cargo_rustc_flags = $(CARGO_RUSTCFLAGS)
+ ifndef DEVELOPER_OPTIONS
+ ifndef MOZ_DEBUG_RUST
+ # Enable link-time optimization for release builds.
+-cargo_rustc_flags += -C lto
++cargo_rustc_flags +=
+ endif
+ endif
+