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-04 07:30:31 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-07-04 07:30:31 +0200
commit54fc9c9504a3c18f8f0be54fa15b251a6756ed1a (patch)
tree194578b6628740e8df135b4c2485d3d7d3975068 /extra/firefox
parent09fa1a0227c34f931bbe72d4718bae72716f4e17 (diff)
..
Diffstat (limited to 'extra/firefox')
-rw-r--r--extra/firefox/PKGBUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD
new file mode 100644
index 00000000..6473b993
--- /dev/null
+++ b/extra/firefox/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"
+ '
+)"