summaryrefslogtreecommitdiff
path: root/extra/thunderbird
diff options
context:
space:
mode:
Diffstat (limited to 'extra/thunderbird')
-rw-r--r--extra/thunderbird/PKGBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/extra/thunderbird/PKGBUILD b/extra/thunderbird/PKGBUILD
index a0a94a98..33e3f300 100644
--- a/extra/thunderbird/PKGBUILD
+++ b/extra/thunderbird/PKGBUILD
@@ -3,4 +3,9 @@ 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"
+ s/ac_add_options --enable-linker=gold/ac_add_options --enable-linker=bfd/
+ '
)"