diff --git a/PKGBUILD b/PKGBUILD index cfcefcb..7553cea 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -25,7 +25,7 @@ b2sums=('a830206f69d72363692996c899fa44af64d4d01bc9b58b3b763f635888cc9d758b6ab61 prepare() { mv "$pkgname-$pkgname-v$pkgver" "$pkgname-$pkgver" cd "$pkgname-$pkgver" - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" } build() {