]> Cypherpunks repositories - gostls13.git/commit
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>
Fri, 19 Apr 2019 17:03:55 +0000 (17:03 +0000)
commit4c236b9b097882f3aef8116e1ac9f65463bf6f01
treee0e103f40dea67c851e2ed4b072b3c92e884529f
parent5ccaf2c6ade286ca30c345ae1cfa0560dc02fedd
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>
src/cmd/link/elf_test.go