On Fri, Oct 16, 2015 at 9:28 AM, Lynn A. Boger
<labo...@linux.vnet.ibm.com> wrote:
> To make it easier to use gotools go and gofmt, add -static-libgo when
> linking them.  This makes it nicer
> in all cases since it eliminates the dependency on libgo.so for these tools,
> but it is mostly helpful for
> the cross compiled case.  When building for use in the cross compiled case,
> this allows for go and gofmt
> to be built with a gccgo that is available during the build but then
> libgo.so is not a dependency when using go
> or gofmt once the build is finished.

This was already tried and rejected.  See http://gcc.gnu.org/PR64738 .

I think that if you really want this you need to make it a configure
option or make variable.  We don't seem to use GOLDFLAGS; perhaps we
should.  Then you could set it from make or configure.

Ian

Reply via email to