diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2021-01-29 08:33:56 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2021-02-09 11:11:43 -0500 |
commit | bc32081b3ac386463ab6f726828be3ec51fb376e (patch) | |
tree | f1fde95c372b1ba9503348f832ca8557d9693de8 /libre/icecat/rust-static-disable-network-test-on-static-libraries.patch | |
parent | 0a529546e860fbed937f44f45eb919e137eccc5d (diff) | |
download | abslibre-bc32081b3ac386463ab6f726828be3ec51fb376e.tar.gz abslibre-bc32081b3ac386463ab6f726828be3ec51fb376e.tar.bz2 abslibre-bc32081b3ac386463ab6f726828be3ec51fb376e.zip |
[icecat]: upgrade to v78.7.0
Diffstat (limited to 'libre/icecat/rust-static-disable-network-test-on-static-libraries.patch')
-rw-r--r-- | libre/icecat/rust-static-disable-network-test-on-static-libraries.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libre/icecat/rust-static-disable-network-test-on-static-libraries.patch b/libre/icecat/rust-static-disable-network-test-on-static-libraries.patch new file mode 100644 index 000000000..08915653a --- /dev/null +++ b/libre/icecat/rust-static-disable-network-test-on-static-libraries.patch @@ -0,0 +1,27 @@ +--- config/makefiles/rust.mk ++++ config/makefiles/rust.mk +@@ -304,15 +304,15 @@ + # the chance of proxy bypasses originating from rust code. + # The check only works when rust code is built with -Clto. + # Sanitizers and sancov also fail because compiler-rt hooks network functions. +-ifndef MOZ_PROFILE_GENERATE +-ifeq ($(OS_ARCH), Linux) +-ifeq (,$(rustflags_sancov)$(MOZ_ASAN)$(MOZ_TSAN)$(MOZ_UBSAN)) +-ifneq (,$(filter -Clto,$(cargo_rustc_flags))) +- $(call py_action,check_binary,--target --networking $@) +-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 py_action,check_binary,--target --networking $@) ++#endif ++#endif ++#endif ++#endif + + force-cargo-library-check: + $(call CARGO_CHECK) --lib $(cargo_target_flag) $(rust_features_flag) |