diff options
author | grizzlyuser <grizzlyuser@protonmail.com> | 2020-06-03 23:27:41 +0300 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2020-06-25 07:19:05 -0400 |
commit | 7ecfc9a451cbc509ad5d37d945f2f5fffb2b0878 (patch) | |
tree | 4fbcd808bd675ff16274873b0f072ede634cf16e | |
parent | 403900b9335ac916e3506facd34130c808bc9f1f (diff) | |
download | abslibre-7ecfc9a451cbc509ad5d37d945f2f5fffb2b0878.tar.gz abslibre-7ecfc9a451cbc509ad5d37d945f2f5fffb2b0878.tar.bz2 abslibre-7ecfc9a451cbc509ad5d37d945f2f5fffb2b0878.zip |
libre/iceweasel: update i686 patch
-rw-r--r-- | libre/iceweasel/rust-static-disable-network-test-on-static-libraries.patch | 35 |
1 files changed, 16 insertions, 19 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 bece16a04..76e12ed63 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,32 +1,29 @@ -diff -rauN firefox-74.0.1/config/makefiles/rust.mk firefox-74.0.1-rust-static-disable-network-test-on-static-libraries-patch/config/makefiles/rust.mk ---- firefox-74.0.1/config/makefiles/rust.mk 2020-04-03 13:10:23.000000000 +0200 -+++ firefox-74.0.1-rust-static-disable-network-test-on-static-libraries-patch/config/makefiles/rust.mk 2020-04-04 12:31:27.804227950 +0200 -@@ -283,17 +283,17 @@ +diff --git a/config/makefiles/rust.mk b/config/makefiles/rust.mk +index df11844..6f75d0a 100644 +--- a/config/makefiles/rust.mk ++++ b/config/makefiles/rust.mk +@@ -299,15 +299,15 @@ $(RUST_LIBRARY_FILE): force-cargo-library-build # the chance of proxy bypasses originating from rust code. # The check only works when rust code is built with -Clto. - # Enabling sancov or TSan also causes this to fail. + # Sanitizers and sancov also fail because compiler-rt hooks network functions. -ifndef MOZ_PROFILE_GENERATE --ifndef MOZ_TSAN -ifeq ($(OS_ARCH), Linux) --ifeq (,$(rustflags_sancov)) +-ifeq (,$(rustflags_sancov)$(MOZ_ASAN)$(MOZ_TSAN)$(MOZ_UBSAN)) -ifneq (,$(filter -Clto,$(cargo_rustc_flags))) - $(call py3_action,check_binary,--target --networking $@) -endif -endif -endif -endif --endif -+#ifndef MOZ_PROFILE_GENERATE -+#ifndef MOZ_TSAN -+#ifeq ($(OS_ARCH), Linux) -+#ifeq (,$(rustflags_sancov)) -+#ifneq (,$(filter -Clto,$(cargo_rustc_flags))) -+# $(call py3_action,check_binary,--target --networking $@) -+#endif -+#endif -+#endif -+#endif -+#endif ++# ifndef MOZ_PROFILE_GENERATE ++# ifeq ($(OS_ARCH), Linux) ++# ifeq (,$(rustflags_sancov)$(MOZ_ASAN)$(MOZ_TSAN)$(MOZ_UBSAN)) ++# ifneq (,$(filter -Clto,$(cargo_rustc_flags))) ++# $(call py3_action,check_binary,--target --networking $@) ++# endif ++# endif ++# endif ++# endif force-cargo-library-check: $(call CARGO_CHECK) --lib $(cargo_target_flag) $(rust_features_flag) |