From 09fa1a0227c34f931bbe72d4718bae72716f4e17 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 3 Jul 2018 18:44:13 +0200 Subject: firefox/firefox-developer-edition: another try using non-gold ld and some linker flags --- community/firefox-developer-edition/PKGBUILD | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 community/firefox-developer-edition/PKGBUILD 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" + ' +)" -- cgit v1.2.3-70-g09d2