Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/rust/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/rust/PKGBUILD')
-rw-r--r--community/rust/PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/community/rust/PKGBUILD b/community/rust/PKGBUILD
index 221bfd43..14d3c061 100644
--- a/community/rust/PKGBUILD
+++ b/community/rust/PKGBUILD
@@ -5,5 +5,7 @@ eval "$(
declare -f prepare | \
sed '
$ i patch -p1 -i "$srcdir/config.toml.patch"
+ /}/ i sed -i "s/pentium4/pentium3" "$srcdir/rustc-$pkgver-src/vendor/rustc-ap-rustc_target/spec/i686_unknown_linux_gnu.rs"
+ /}/ i sed -i "s/pentium4/pentium3" "$srcdir/rustc-$pkgver-src/src/librustc_target/spec/i686_unknown_linux_gnu.rs"
'
)"