cargo: expects a different triplet for i686.

This commit is contained in:
Christian Neukirchen 2015-04-05 23:53:09 +02:00
parent 08360afd9c
commit b701f348bd

View file

@ -19,6 +19,9 @@ checksum="eb6e0365af8fe8a0d78d2caf234ee05c66ca63b13b9396fe83f3ef452f3f0c84
a6f119be6105b911131eb89e6919dfa08fa849e6f5bc46ced24adc2075d39b71"
nocross=yes
pre_configure() {
configure_args+=" --host=${XBPS_TRIPLET/-pc-/-unknown-} --build=${XBPS_TRIPLET/-pc-/-unknown-}"
}
post_extract() {
rm -rf src/rust-installer
mv ../rust-installer-${_githash_installer} src/rust-installer