Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-03-20 13:54:59 +0200
committerTasos Sahanidis <tasos@tasossah.com>2024-03-20 13:54:59 +0200
commitb28007028f6aae92c4d6cecdb3fe93515da0050b (patch)
tree80d149dbf5072a2868aa6258714160ba0dbb6551
parent326bfd11eba10d44876fdf8d2db645a159a8a2e4 (diff)
extra/rust: Attempt to prevent ld from running out of memory
-rw-r--r--extra/rust/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/rust/PKGBUILD b/extra/rust/PKGBUILD
index df5cf3a0..e9067f1d 100644
--- a/extra/rust/PKGBUILD
+++ b/extra/rust/PKGBUILD
@@ -43,7 +43,8 @@ eval "$(
/ln.*i686-unknown-linux-gnu.*/d
/_pick.*dest-i686.*/d
s/x86_64-unknown-linux-musl/i686-unknown-linux-musl/
- '
+ ' | \
+ sed '3i export LDFLAGS="${LDFLAGS} -Wl,--threads=1"'
)"
eval "$(