From 6686a3b2e8e2820b388ee0c38fb0febc3fe16ec6 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 22 Aug 2019 13:01:59 +0200 Subject: extra/rust: no nproc, see FS#62952 --- extra/rust/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'extra/rust/PKGBUILD') 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 | \ -- cgit v1.2.3-54-g00ecf