]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.12] 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:19:48 +0000 (01:19 +0000)
commita115501eae2195d4bbf84b7067587bb6c59db702
tree35facd42d2702fde586b9a2b6dc89581a3857f2f
parent323ac9c7dabcd4f1fe5f5325b701d368d3e68d2a
[release-branch.go1.12] 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/+/173117
src/cmd/link/elf_test.go