From f34efd6d1651149a43361c17f10a242fe9bdd5d8 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 12 Feb 2021 13:44:15 +0100 Subject: extra/thunderbird: some blind temptative trial to fix the build --- extra/thunderbird/PKGBUILD | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'extra/thunderbird') diff --git a/extra/thunderbird/PKGBUILD b/extra/thunderbird/PKGBUILD index 8008522a..b08b000a 100644 --- a/extra/thunderbird/PKGBUILD +++ b/extra/thunderbird/PKGBUILD @@ -7,22 +7,22 @@ eval "$( ' )" -# no longer applies (TODO: check where we can set this) -#~ eval "$( - #~ declare -f build | \ - #~ sed ' - #~ /cd mozilla-unified/a sed -i "s/\\(cargo_rustc_flags += -C lto\\)/#\\1/" config/rules.mk - #~ ' -#~ )" +#~ # no longer applies (TODO: check where we can set this) +eval "$( + declare -f build | \ + sed ' + /cd /a sed -i "s/\\(cargo_rustc_flags += -C lto\\)/#\\1/" config/rules.mk + ' +)" # from VoidLinux, avoid excessive debug symbols in rust leading # to out-of-memory situations -#~ eval "$( - #~ declare -f build | \ - #~ sed ' - #~ 2 a sed -i "s/debug_info = '\''2'\''/debug_info = '\''1'\''/" build/moz.configure/toolchain.configure - #~ ' -#~ )" +eval "$( + declare -f build | \ + sed ' + /cd /a sed -i "s/debug_info = '\''2'\''/debug_info = '\''1'\''/" build/moz.configure/toolchain.configure + ' +)" # don't kill build slaves by auto-guessing available CPU cores eval "$( -- cgit v1.2.3-54-g00ecf