[Buildroot] [RFC, v2, 1/4] package/go: fixing crosscompilation settings

Christian Stewart christian at paral.in
Thu Oct 19 17:20:14 UTC 2017


Hi all,

On Mon, 16 Oct 2017 19:08:45 +0200, Angelo Compagnucci
<angelo.compagnucci at gmail.com> wrote:
> This patch fixes a bug with the BR2_TOOLCHAIN_HAS_THREADS variable
> handling which causes CGO_ENABLED to be always 0.
>
> Furthermore, it fixes the cross compilation options for the go compiler:
> setting CGO_ENABLED should be done only for the target compiler not the
> host one.

Tested, works fine. Signing off on the first commit in the series only.

Signed-off-by: Christian Stewart <christian at paral.in>

Best,
Christian Stewart


More information about the buildroot mailing list