From 54fc9c9504a3c18f8f0be54fa15b251a6756ed1a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 4 Jul 2018 07:30:31 +0200 Subject: .. --- extra/firefox/PKGBUILD | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 extra/firefox/PKGBUILD (limited to 'extra/firefox') 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" + ' +)" -- cgit v1.2.3