Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/firefox/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-09-09 20:27:51 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-09-09 20:27:51 +0200
commitddeb3aeb99e07a75d2e3796d48d21d8bb756f7e3 (patch)
treea015c9c822b0da8c13397b3b94bf2297afbb0aa5 /extra/firefox/PKGBUILD
parent1a2127a1079828e00a6c69d1c830a1484d6009e3 (diff)
extra/firefox: another try to limit resources during linking, this time disabling rust LTO
Diffstat (limited to 'extra/firefox/PKGBUILD')
-rw-r--r--extra/firefox/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
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
'
)"