diff options
author | WANG Xuerui <xen0n@gentoo.org> | 2022-08-22 13:44:49 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-08-22 13:44:49 -0500 |
commit | 08d53ec091e03c1ac08ae8fe362b3e63bc4cde5f (patch) | |
tree | ad4a4406da3576f8bc2949577090e6b270dc08e7 /dev-lang | |
parent | dev-lang/go-bootstrap: fix removal of testdata directories (diff) | |
download | gentoo-08d53ec091e03c1ac08ae8fe362b3e63bc4cde5f.tar.gz gentoo-08d53ec091e03c1ac08ae8fe362b3e63bc4cde5f.tar.bz2 gentoo-08d53ec091e03c1ac08ae8fe362b3e63bc4cde5f.zip |
dev-lang/go: add GOARCH adaptation for loong
Bug: https://github.com/gentoo/gentoo/pull/26716
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/go/go-1.19.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-lang/go/go-1.19.ebuild b/dev-lang/go/go-1.19.ebuild index 884f323da511..c1883cdf3f34 100644 --- a/dev-lang/go/go-1.19.ebuild +++ b/dev-lang/go/go-1.19.ebuild @@ -67,6 +67,7 @@ go_arch() { case "${tc_arch}" in x86) echo 386;; x64-*) echo amd64;; + loong) echo loong64;; ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;; riscv) echo riscv64 ;; s390) echo s390x ;; |