diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-07-03 18:44:13 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-07-03 18:44:13 +0200 |
commit | 09fa1a0227c34f931bbe72d4718bae72716f4e17 (patch) | |
tree | 6d8b1fecfb0258c9a41673457e8c5fa183a0794e /community | |
parent | f3ee0d8e0dabefc6852db423de041689d063dd1e (diff) | |
download | packages-09fa1a0227c34f931bbe72d4718bae72716f4e17.tar.xz |
firefox/firefox-developer-edition: another try using non-gold ld and some linker flags
Diffstat (limited to 'community')
-rw-r--r-- | community/firefox-developer-edition/PKGBUILD | 15 |
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" + ' +)" |