cmd/go: buildmode=c-shared support for linux/arm64

Change-Id: Ic826dc25b5203b2e9fc253d6fe997e4b41de3789
Reviewed-on: https://go-review.googlesource.com/16453
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
David Crawshaw 2015-10-28 17:57:30 -04:00
parent 3356624df3
commit ab7e82ef3b
9 changed files with 37 additions and 6 deletions

View file

@ -316,7 +316,7 @@ func (mode *BuildMode) Set(s string) error {
}
*mode = BuildmodeCArchive
case "c-shared":
if goarch != "amd64" && goarch != "arm" {
if goarch != "amd64" && goarch != "arm" && goarch != "arm64" {
return badmode()
}
*mode = BuildmodeCShared