mirror of
https://github.com/golang/go
synced 2024-11-11 23:10:23 -07:00
cmd/dist: detect gohostarch on riscv64 hosts
Updates #27532 Change-Id: I66c194499bb7b831b569c66d0736fa7205eedd80 Reviewed-on: https://go-review.googlesource.com/c/go/+/215837 Reviewed-by: Cherry Zhang <cherryyz@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
6718cb617f
commit
b4f15e79af
2
src/cmd/dist/main.go
vendored
2
src/cmd/dist/main.go
vendored
@ -122,6 +122,8 @@ func main() {
|
||||
if elfIsLittleEndian(os.Args[0]) {
|
||||
gohostarch = "mipsle"
|
||||
}
|
||||
case strings.Contains(out, "riscv64"):
|
||||
gohostarch = "riscv64"
|
||||
case strings.Contains(out, "s390x"):
|
||||
gohostarch = "s390x"
|
||||
case gohostos == "darwin":
|
||||
|
Loading…
Reference in New Issue
Block a user