Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/firefox-developer-edition/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/firefox-developer-edition/PKGBUILD')
-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"
+ '
+)"