Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/firefox
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-07-02 17:37:52 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-07-02 17:37:52 +0200
commitcd4fbfd95886d64d1aa10a86ef1541507953b0a9 (patch)
treef33ec6ff7675c0148c39c91c4af812dce03af2f8 /extra/firefox
parent4a39f87a67426b32249aa79ea6a0e21a28088ff3 (diff)
extra/firefox: another try to tame memory usage, not using gold ld
Diffstat (limited to 'extra/firefox')
-rw-r--r--extra/firefox/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD
new file mode 100644
index 00000000..17e656e0
--- /dev/null
+++ b/extra/firefox/PKGBUILD
@@ -0,0 +1,8 @@
+# the gold linker simply allocates too much memory via mmap, cannot
+# possibly word for libxul.so on 32-bit
+eval "$(
+ declare -f prepare | \
+ sed '
+ s/ac_add_options --enable-gold/ac_add_options --disable-gold/g
+ '
+)"