From ddeb3aeb99e07a75d2e3796d48d21d8bb756f7e3 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 9 Sep 2018 20:27:51 +0200 Subject: extra/firefox: another try to limit resources during linking, this time disabling rust LTO --- extra/firefox/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extra/firefox') diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD index 8eba80f3..edbc3517 100644 --- a/extra/firefox/PKGBUILD +++ b/extra/firefox/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 ' )" -- cgit v1.2.3