Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/auth-tarball-from-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/auth-tarball-from-git/PKGBUILD')
-rw-r--r--extra/auth-tarball-from-git/PKGBUILD9
1 files changed, 1 insertions, 8 deletions
diff --git a/extra/auth-tarball-from-git/PKGBUILD b/extra/auth-tarball-from-git/PKGBUILD
index 4898d5c6..6883ef75 100644
--- a/extra/auth-tarball-from-git/PKGBUILD
+++ b/extra/auth-tarball-from-git/PKGBUILD
@@ -1,8 +1 @@
-# patch architecture for fetching the right rust modules
-eval "$(
- declare -f prepare | \
- sed '
- s|$CARCH|i686|g
- '
-)"
-
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"