summaryrefslogtreecommitdiff
path: root/community/firefox-developer-edition/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-07-02 17:45:27 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-07-02 17:45:27 +0200
commit7c0ff2e546dbfaec08bd50754f2d266c54810fb2 (patch)
treecf6121baf4b8c99c7d2b0a5a5891c0f56ee54fe8 /community/firefox-developer-edition/PKGBUILD
parentcd4fbfd95886d64d1aa10a86ef1541507953b0a9 (diff)
downloadpackages-7c0ff2e546dbfaec08bd50754f2d266c54810fb2.tar.xz
community/firefox-developer-edition: another try to tame memory usage, not using gold ld
Diffstat (limited to 'community/firefox-developer-edition/PKGBUILD')
-rw-r--r--community/firefox-developer-edition/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/community/firefox-developer-edition/PKGBUILD b/community/firefox-developer-edition/PKGBUILD
new file mode 100644
index 00000000..17e656e0
--- /dev/null
+++ b/community/firefox-developer-edition/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
+ '
+)"