Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/rust/PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/extra/rust/PKGBUILD b/extra/rust/PKGBUILD
index fd6f5b20..198fa31a 100644
--- a/extra/rust/PKGBUILD
+++ b/extra/rust/PKGBUILD
@@ -19,7 +19,7 @@ eval "$(
eval "$(
declare -f build | \
sed '
- s/-j "$(nproc)"/-j1/
+ s/-j "$(nproc)"/-j8/
'
)"
@@ -27,9 +27,7 @@ if [ "${CARCH}" != 'pentium4' ]; then
eval "$(
declare -f prepare | \
sed '
- $ i sed -i "s/pentium4/pentium3/g" "$srcdir/rustc-$pkgver-src/vendor/rustc-ap-rustc_target/src/spec/i686_unknown_linux_gnu.rs"
$ i sed -i "s/pentium4/pentium3/g" "$srcdir/rustc-$pkgver-src/compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs"
- $ i sed -i "s/87a043fd55d96d4bf471c7969df0912ccebdb1a5d52d157f4896af52f7af6d41/1c032d897011bc643fdb241251280d12c1b8cfd3ca3a31a8a2a107f8bf7dce13/g" "$srcdir/rustc-$pkgver-src/vendor/rustc-ap-rustc_target/.cargo-checksum.json"
'
)"
fi
@@ -77,7 +75,7 @@ makedepends=(${makedepends[@]//lib32-gcc-libs/})
# Enable on demand, if your previous rust is broken use previous version
# from build-support
makedepends=(${makedepends[@]//rust/})
-makedepends+=('rust156-bin')
+makedepends+=('rust159-bin')
# rust 1.56 is built against llvm12.0, so force that in as a make dependency
#makedepends+=('llvm12-libs')