From fab1839ead4ca3d3165fb6ec9410f1c1b21610c5 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 24 Nov 2018 08:48:57 +0100 Subject: extra/thunderbird: trying firefox trick for (ld flags) --- extra/thunderbird/PKGBUILD | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'extra/thunderbird/PKGBUILD') diff --git a/extra/thunderbird/PKGBUILD b/extra/thunderbird/PKGBUILD index a0a94a98..8ee506d2 100644 --- a/extra/thunderbird/PKGBUILD +++ b/extra/thunderbird/PKGBUILD @@ -3,4 +3,8 @@ eval "$( sed ' /cd mozilla-unified/a sed -i "s/\\(cargo_rustc_flags += -C lto\\)/#\\1/" config/rules.mk ' + declare -f prepare | \ + sed ' + $ i LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads" + ' )" -- cgit v1.2.3-70-g09d2 From c5392936a52857892c0deb43bb4e6d09d13ad27c Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 24 Nov 2018 09:59:37 +0100 Subject: extra/thunderbird: do not use gold linker (doesn't understand anti-memeory-hog-flags) --- extra/thunderbird/PKGBUILD | 1 + 1 file changed, 1 insertion(+) (limited to 'extra/thunderbird/PKGBUILD') diff --git a/extra/thunderbird/PKGBUILD b/extra/thunderbird/PKGBUILD index 8ee506d2..33e3f300 100644 --- a/extra/thunderbird/PKGBUILD +++ b/extra/thunderbird/PKGBUILD @@ -6,5 +6,6 @@ eval "$( declare -f prepare | \ sed ' $ i LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads" + s/ac_add_options --enable-linker=gold/ac_add_options --enable-linker=bfd/ ' )" -- cgit v1.2.3-70-g09d2