Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-07-03 18:44:13 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-07-03 18:44:13 +0200
commit09fa1a0227c34f931bbe72d4718bae72716f4e17 (patch)
tree6d8b1fecfb0258c9a41673457e8c5fa183a0794e
parentf3ee0d8e0dabefc6852db423de041689d063dd1e (diff)
firefox/firefox-developer-edition: another try using non-gold ld and some linker flags
-rw-r--r--community/firefox-developer-edition/PKGBUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/firefox-developer-edition/PKGBUILD b/community/firefox-developer-edition/PKGBUILD
new file mode 100644
index 00000000..6473b993
--- /dev/null
+++ b/community/firefox-developer-edition/PKGBUILD
@@ -0,0 +1,15 @@
+# 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
+ '
+)"
+
+eval "$(
+ declare -f build | \
+ sed '
+ /CPPFLAGS/ a LDFLAGS+="-Wl,--no-keep-memory"
+ '
+)"