diff options
Diffstat (limited to 'libre/iceweasel/rust-static-disable-network-test-on-static-libraries.patch')
-rw-r--r-- | libre/iceweasel/rust-static-disable-network-test-on-static-libraries.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libre/iceweasel/rust-static-disable-network-test-on-static-libraries.patch b/libre/iceweasel/rust-static-disable-network-test-on-static-libraries.patch index 81d536cd9..c9ae89cb4 100644 --- a/libre/iceweasel/rust-static-disable-network-test-on-static-libraries.patch +++ b/libre/iceweasel/rust-static-disable-network-test-on-static-libraries.patch @@ -1,7 +1,7 @@ diff -rauN a/config/makefiles/rust.mk b/config/makefiles/rust.mk --- a/config/makefiles/rust.mk 2020-10-13 20:23:09.920635480 +0200 +++ b/config/makefiles/rust.mk 2020-10-13 20:24:02.273994137 +0200 -@@ -310,17 +310,17 @@ +@@ -324,17 +324,17 @@ # the chance of proxy bypasses originating from rust code. # The check only works when rust code is built with -Clto but without MOZ_LTO_RUST_CROSS. # Sanitizers and sancov also fail because compiler-rt hooks network functions. @@ -19,7 +19,7 @@ diff -rauN a/config/makefiles/rust.mk b/config/makefiles/rust.mk +#ifndef MOZ_PROFILE_GENERATE +#ifeq ($(OS_ARCH), Linux) +#ifeq (,$(rustflags_sancov)$(MOZ_ASAN)$(MOZ_TSAN)$(MOZ_UBSAN)) -+#ifndef MOZ_LTO_RUST_CROSS ++#ifndef MOZ_LTO_RUST +#ifneq (,$(filter -Clto,$(cargo_rustc_flags))) +# $(call py_action,check_binary,--target --networking $@) +#endif |