From b28007028f6aae92c4d6cecdb3fe93515da0050b Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Wed, 20 Mar 2024 13:54:59 +0200 Subject: extra/rust: Attempt to prevent ld from running out of memory --- extra/rust/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extra/rust/PKGBUILD') 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 "$( -- cgit v1.2.3-70-g09d2