]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.11] cmd/link: require cgo support for TestSectionsWithSameName
authorIan Lance Taylor <iant@golang.org>
Fri, 19 Apr 2019 16:50:01 +0000 (09:50 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 22 Apr 2019 01:20:16 +0000 (01:20 +0000)
commit5ee175e682980b02a33c673a6b54301032b762ab
tree8d620aa4bddb6f7b5403e9854adf7259a087cc7d
parent01c8062308e2c8cf0fe7b1577318f2227771ebf5
[release-branch.go1.11] cmd/link: require cgo support for TestSectionsWithSameName

The test doesn't really require cgo, but it does require that we know
the right flags to use to run the C compiler, and that is not
necessarily correct if we don't support cgo.

Fixes #31565

Change-Id: I04dc8db26697caa470e91ad712376aa621cf765d
Reviewed-on: https://go-review.googlesource.com/c/go/+/172981
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
(cherry picked from commit 4c236b9b097882f3aef8116e1ac9f65463bf6f01)
Reviewed-on: https://go-review.googlesource.com/c/go/+/173118
src/cmd/link/elf_test.go