]> Cypherpunks repositories - gostls13.git/commit
cmd/go: disable use of -linkmode=external in tests when CGO_ENABLED=0
authorRuss Cox <rsc@golang.org>
Thu, 17 Dec 2015 03:40:15 +0000 (22:40 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 17 Dec 2015 05:46:21 +0000 (05:46 +0000)
commit37f2afa625204befc21837756d5e64fe0ffcd7d5
tree12c2f4ddf14021598d7c5a8a11273109fe94b0b5
parent4378746a4b4160d5851d1daa68383a514aadad6f
cmd/go: disable use of -linkmode=external in tests when CGO_ENABLED=0

If cgo is turned off, there may not be an external linker available.

Fixes #13450.

Change-Id: Idbf3f3f57b4bb3908b67264f96d276acc952102a
Reviewed-on: https://go-review.googlesource.com/17941
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/note_test.go