]> Cypherpunks repositories - gostls13.git/commit
cmd/go: for gccgo, don't edit cgo header when using -o
authorIan Lance Taylor <iant@golang.org>
Fri, 4 May 2018 22:29:09 +0000 (15:29 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 9 May 2018 12:53:36 +0000 (12:53 +0000)
commitc4650640675629f52f985217050fd68fa9043b23
tree6c4efa03fcce0242c5ba88450da92dff15e7977e
parent6d00e8c478431b32b38ac5849a703a86df8e5298
cmd/go: for gccgo, don't edit cgo header when using -o

This change was made to the gccgo sources as part of CL 47037.
It is required to make the testcarchive and testcshared tests work.
Otherwise using `go build -mode=c-archive -o libgo.a` will cause the
header file to be named go.h rather than libgo.h.

Change-Id: I2db1d7b0f575368b31273cc01097447a0471efd6
Reviewed-on: https://go-review.googlesource.com/111615
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/go/internal/work/action.go