summaryrefslogtreecommitdiff
path: root/user/firefox-esr/rust-32bit.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-03 21:19:22 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-03 21:19:22 +0000
commit3be834a04f8d9a5ad4bd7138cb1efb55d8e062a0 (patch)
treedb059fb7e4e1451b5c458e898bff00560c424de6 /user/firefox-esr/rust-32bit.patch
parent25e991cb02a1f11863592ff29d850326d09353dd (diff)
downloadpackages-3be834a04f8d9a5ad4bd7138cb1efb55d8e062a0.tar.gz
packages-3be834a04f8d9a5ad4bd7138cb1efb55d8e062a0.tar.bz2
packages-3be834a04f8d9a5ad4bd7138cb1efb55d8e062a0.tar.xz
packages-3be834a04f8d9a5ad4bd7138cb1efb55d8e062a0.zip
user/firefox-esr: maybe 32-bit builds supported
Diffstat (limited to 'user/firefox-esr/rust-32bit.patch')
-rw-r--r--user/firefox-esr/rust-32bit.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/user/firefox-esr/rust-32bit.patch b/user/firefox-esr/rust-32bit.patch
new file mode 100644
index 000000000..f9281cb7a
--- /dev/null
+++ b/user/firefox-esr/rust-32bit.patch
@@ -0,0 +1,20 @@
+--- 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