Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/cargo-audit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cargo-audit/PKGBUILD')
-rw-r--r--extra/cargo-audit/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/cargo-audit/PKGBUILD b/extra/cargo-audit/PKGBUILD
index 4c87c0d9..3cdf97b9 100644
--- a/extra/cargo-audit/PKGBUILD
+++ b/extra/cargo-audit/PKGBUILD
@@ -1 +1,3 @@
-eval "$(declare -f prepare | sed 's@rustc -vV@echo "host: i686-unknown-linux-gnu"@')"
+# eval "$(declare -f prepare | sed 's@rustc -vV@echo "host: i686-unknown-linux-gnu"@')"
+# Essentially apply https://gitlab.archlinux.org/archlinux/packaging/packages/cargo-audit/-/commit/dd4c71adb934157153ec65bc0361fc6d30544158
+eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')"