summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-03-10 13:36:49 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2019-03-10 13:36:49 +0100
commit9aec669b08f89ce19ce073e018f5c4f7e3153048 (patch)
treec78f55c785584c59b49a894ab9850e2dc7a82f67
parentdffdb1c724b4c4916626560d729f8fc3790fc193 (diff)
downloadpackages-9aec669b08f89ce19ce073e018f5c4f7e3153048.tar.xz
community/rust: patched i686 for pentium3 (no SSE2)
-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"
'
)"