diff options
Diffstat (limited to 'dev-lang/go/go-1.16.6.ebuild')
-rw-r--r-- | dev-lang/go/go-1.16.6.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-lang/go/go-1.16.6.ebuild b/dev-lang/go/go-1.16.6.ebuild index 4c8f5c8fbc88..895ddad58f5e 100644 --- a/dev-lang/go/go-1.16.6.ebuild +++ b/dev-lang/go/go-1.16.6.ebuild @@ -21,7 +21,7 @@ case ${PV} in case ${PV} in *_beta*|*_rc*) ;; *) - KEYWORDS="-* amd64 arm arm64 ~ppc64 ~s390 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + KEYWORDS="-* amd64 arm arm64 ~ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" ;; esac esac @@ -63,6 +63,7 @@ go_arch() { x86) echo 386;; x64-*) echo amd64;; ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;; + riscv) echo riscv64 ;; s390) echo s390x ;; *) echo "${portage_arch}";; esac |