summaryrefslogtreecommitdiff
path: root/www/cliqz/files/patch-bug1640982
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
commit26b4c8f71f91d22e081b27814782686edde0c90a (patch)
tree1c321c39372c25d8634e75b5c8e08edc676b296d /www/cliqz/files/patch-bug1640982
parentNew port: math/py-optuna: A hyperparameter optimization framework (diff)
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed With hat: portmgr
Notes
Notes: svn path=/head/; revision=559822
Diffstat (limited to 'www/cliqz/files/patch-bug1640982')
-rw-r--r--www/cliqz/files/patch-bug164098217
1 files changed, 17 insertions, 0 deletions
diff --git a/www/cliqz/files/patch-bug1640982 b/www/cliqz/files/patch-bug1640982
new file mode 100644
index 000000000000..9a8d8e6e5700
--- /dev/null
+++ b/www/cliqz/files/patch-bug1640982
@@ -0,0 +1,17 @@
+Unbreak build with Rust 1.45.0
+
+error: options `-C embed-bitcode=no` and `-C lto` are incompatible
+
+Taken from www/firefox
+
+--- mozilla-release/config/makefiles/rust.mk.orig 2020-05-12 09:36:22 UTC
++++ mozilla-release/config/makefiles/rust.mk
+@@ -61,7 +61,7 @@ ifndef MOZ_DEBUG_RUST
+ # Enable link-time optimization for release builds, but not when linking
+ # gkrust_gtest.
+ ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE)))
+-cargo_rustc_flags += -Clto
++cargo_rustc_flags +=
+ endif
+ endif
+ endif