[Buildroot] [PATCH 2/9] package/go-bootstrap: Set CGO_ENABLED=0

Geoff Levand geoff at infradead.org
Fri May 13 18:40:50 UTC 2016


On Fri, 2016-05-13 at 19:12 +0200, Peter Korsgaard wrote:
> > > > >  > This change disables cgo support for the bootstrap compiler.  It is not
>  > needed.  The bootstrap compiler is just used to build the final go
>  > compiler.  We need full cgo support in the final go compiler to support
>  > any go programs that may need cgo support.
> 
>  > I hope this makes more sense.
> 
> Ok, thanks - But why did you then add toolchain to
> HOST_GO_BOOTSTRAP_DEPENDENCIES and not to HOST_GO_DEPENDENCIES with the
> comment that it was about cgo?

Yes, we could do it that way.  I'll update the patch.

-Geoff



More information about the buildroot mailing list