diff options
author | Erich Eckner <git@eckner.net> | 2019-03-28 14:32:25 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-03-28 14:32:25 +0100 |
commit | 64592f10dcd91ad4a8119c28703ca8647da914e7 (patch) | |
tree | c3f92ed32a6a1ac425f88827fb05fc05f3c969e0 /community/go | |
parent | 18c02418c50ca294460513fdf9f6b9f99fc55208 (diff) | |
download | packages-64592f10dcd91ad4a8119c28703ca8647da914e7.tar.xz |
community/go: fix GOARCH replacing
Diffstat (limited to 'community/go')
-rw-r--r-- | community/go/PKGBUILD | 7 |
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/ + ' +)" |