Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/rust
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rust')
-rw-r--r--extra/rust/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/rust/PKGBUILD b/extra/rust/PKGBUILD
index 0ab950b8..503f34a4 100644
--- a/extra/rust/PKGBUILD
+++ b/extra/rust/PKGBUILD
@@ -9,6 +9,15 @@ eval "$(
$ i patch -p1 -i "$srcdir/config.toml.patch"
'
)"
+
+# stop insanity of nproc (see FS#62952)
+eval "$(
+ declare -f build | \
+ sed '
+ s/-j"$(nproc)"/-j1/
+ '
+)"
+
if [ "${CARCH}" != 'pentium4' ]; then
eval "$(
declare -f prepare | \