mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/link: use GOOS=ios for TestBuildForTvOS
Updates #38485. Fix darwin-amd64-10_15 build. Change-Id: I1833c23788acafc9530bb91fb6182fc5cb44f6cd Reviewed-on: https://go-review.googlesource.com/c/go/+/263265 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
11cfb48df1
commit
5faa828651
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ func TestBuildForTvOS(t *testing.T) {
|
|||
cmd := exec.Command(testenv.GoToolPath(t), "build", "-buildmode=c-archive", "-o", ar, lib)
|
||||
cmd.Env = append(os.Environ(),
|
||||
"CGO_ENABLED=1",
|
||||
"GOOS=darwin",
|
||||
"GOOS=ios",
|
||||
"GOARCH=arm64",
|
||||
"CC="+strings.Join(CC, " "),
|
||||
"CGO_CFLAGS=", // ensure CGO_CFLAGS does not contain any flags. Issue #35459
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue