summaryrefslogtreecommitdiff
path: root/www/cliqz/files/patch-bug1640982
blob: 9a8d8e6e5700ec71311b9853ba5f4cae92c81776 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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