From 1d508a46807414e560ce70591447c6dba0473d63 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 8 Jul 2018 09:18:53 +0200 Subject: extra/firefox, community/firefox-developer-edition: antoher linker switch trial --- extra/firefox/PKGBUILD | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 extra/firefox/PKGBUILD (limited to 'extra/firefox/PKGBUILD') diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD new file mode 100644 index 00000000..108fd67c --- /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-linker=gold/--enable-linker=bfd/g + ' +)" + +eval "$( + declare -f build | \ + sed ' + /CPPFLAGS/ a LDFLAGS+="-Wl,--no-keep-memory -fuse=ld=bfd" + ' +)" -- cgit v1.2.3-70-g09d2