Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-03-28 14:32:25 +0100
committerErich Eckner <git@eckner.net>2019-03-28 14:32:25 +0100
commit64592f10dcd91ad4a8119c28703ca8647da914e7 (patch)
treec3f92ed32a6a1ac425f88827fb05fc05f3c969e0
parent18c02418c50ca294460513fdf9f6b9f99fc55208 (diff)
community/go: fix GOARCH replacing
-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/
+ '
+)"