summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-03-27 07:05:00 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-03-27 07:05:00 +0100
commit3db656352fc8b84044338417962537a0f9689957 (patch)
tree917baf409aa5fbd3309d4cea4de6b7807f7ca046
parent88c26410e4e2b85ff670b6d511c34fc5a63c8c70 (diff)
downloadpackages-3db656352fc8b84044338417962537a0f9689957.tar.xz
extra/rust: copy-paste error in hacked platform.rs for i686
-rw-r--r--extra/rust/PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/rust/PKGBUILD b/extra/rust/PKGBUILD
index dedbe8fe..185ad47a 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/
'
)"
@@ -29,7 +29,7 @@ if [ "${CARCH}" != 'pentium4' ]; then
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/c3436efc44370b470cd00a28b44b8eca293215cc77d4308cf5f1359d5f446457/76406fba886ab04882/g" "$srcdir/rustc-$pkgver-src/vendor/rustc-ap-rustc_target/.cargo-checksum.json"
+ $ i sed -i "s/c3436efc44370b470cd00a28b44b8eca293215cc77d4308cf5f1359d5f446457/76406fba886ab0488292a47ca5c9041e3400a07237df4122e32227278bcb4780/g" "$srcdir/rustc-$pkgver-src/vendor/rustc-ap-rustc_target/.cargo-checksum.json"
'
)"
fi