summaryrefslogblamecommitdiff
path: root/user/firefox-esr/rust-32bit.patch
blob: f9281cb7a06ce4c7f4283e37299357aac4557ff2 (plain) (tree)



















                                                                                               
--- firefox-68.1.0/config/makefiles/rust.mk.old	2019-08-26 16:52:20.000000000 +0000
+++ firefox-68.1.0/config/makefiles/rust.mk	2019-10-03 21:17:55.062373830 +0000
@@ -47,7 +47,7 @@
 ifndef DEVELOPER_OPTIONS
 ifndef MOZ_DEBUG_RUST
 # Enable link-time optimization for release builds.
-cargo_rustc_flags += -C lto
+# OOMs on 32-bit machines: cargo_rustc_flags += -C lto
 endif
 endif
 
@@ -246,7 +246,7 @@
 ifndef DEVELOPER_OPTIONS
 ifndef MOZ_DEBUG_RUST
 ifeq ($(OS_ARCH), Linux)
-	$(call py_action,check_binary,--target --networking $@)
+# Fails because we disable LTO:	$(call py_action,check_binary,--target --networking $@)
 endif
 endif
 endif