summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community/go/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD
index 106707ad..d28d6699 100644
--- a/community/go/PKGBUILD
+++ b/community/go/PKGBUILD
@@ -9,4 +9,9 @@ eval "$(
'
)"
-export GOARCH=386 GO386=387
+eval "$(
+ declare -f build check _package \
+ | sed '
+ s/\(export GOARCH=\)amd64/\1386 GO386=387/
+ '
+)"