diff options
author | Guoqi Chen <chenguoqi@loongson.cn> | 2023-04-26 11:47:16 +0800 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-04-27 18:35:10 +0000 |
commit | 3a7806d387e8dc62a327ce9d2c7a3ea913f1efde (patch) | |
tree | 71a29a695e39447879ef0c225ab4f7a0d4dec227 /src/cmd/dist/test.go | |
parent | 954ff15dbe5fc722f8965c80934774a3fa2d8c71 (diff) | |
download | go-3a7806d387e8dc62a327ce9d2c7a3ea913f1efde.tar.gz go-3a7806d387e8dc62a327ce9d2c7a3ea913f1efde.zip |
cmd/dist,internal: enable buildmode=c-archive for linux/loong64
Now the shared flag is supported on the linux/loong64 platform and
misc/cgo/testcarchive has been passed, buildmode=c-archive can be used.
Change-Id: Ice450dc11fcb91942fdf2ddd34bb163853267e01
Reviewed-on: https://go-review.googlesource.com/c/go/+/489576
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Meidan Li <limeidan@loongson.cn>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: WANG Xuerui <git@xen0n.name>
Diffstat (limited to 'src/cmd/dist/test.go')
-rw-r--r-- | src/cmd/dist/test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index cc96223aa6..31eb69113a 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -1694,7 +1694,7 @@ func buildModeSupported(compiler, buildmode, goos, goarch string) bool { return true case "linux": switch goarch { - case "386", "amd64", "arm", "armbe", "arm64", "arm64be", "ppc64le", "riscv64", "s390x": + case "386", "amd64", "arm", "armbe", "arm64", "arm64be", "loong64", "ppc64le", "riscv64", "s390x": // linux/ppc64 not supported because it does // not support external linking mode yet. return true |