summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-09-11 05:24:22 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-09-11 05:24:22 +0000
commitfe76b5541129f11c869354c16f7dc2f4dc721264 (patch)
treebe6ad4c3eb580f11f8f87626f9f5dbd05061bfbb
parent1f7d906ccbf7f1145939529efe2b38db1f31636b (diff)
downloadpackages-fe76b5541129f11c869354c16f7dc2f4dc721264.tar.xz
extra/thunderbird: same rust no-lto trick as for firefox
-rw-r--r--extra/thunderbird/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/thunderbird/PKGBUILD b/extra/thunderbird/PKGBUILD
index 8eba80f3..edbc3517 100644
--- a/extra/thunderbird/PKGBUILD
+++ b/extra/thunderbird/PKGBUILD
@@ -1,6 +1,7 @@
eval "$(
declare -f build | \
sed '
- 2 a export LDFLAGS+=" -Wl,--no-keep-memory"
+ s/mach/mach -j1/g
+ /cd mozilla-unified/a sed -i "s/\\(cargo_rustc_flags += -C lto\\)/#\\1/" config/rules.mk
'
)"