summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-11-24 08:48:57 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-11-24 08:48:57 +0100
commitfab1839ead4ca3d3165fb6ec9410f1c1b21610c5 (patch)
tree079f60599d7e66d39b35df8fd403cd5f37d65301
parent9bb51e1f2f696f318037414516d79ed1c4eb070c (diff)
downloadpackages-fab1839ead4ca3d3165fb6ec9410f1c1b21610c5.tar.xz
extra/thunderbird: trying firefox trick for (ld flags)
-rw-r--r--extra/thunderbird/PKGBUILD4
1 files changed, 4 insertions, 0 deletions
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"
+ '
)"