[Buildroot] [RFC v2 1/4] package/go: fixing crosscompilation settings
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Oct 21 19:51:07 UTC 2017
Hello,
On Mon, 16 Oct 2017 19:08:45 +0200, Angelo Compagnucci 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.
>
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci at gmail.com>
> ---
> package/go/go.mk | 14 ++++++++------
> 1 file changed, 8 insertions(+), 6 deletions(-)
Thanks applied the patch, with Christian's Acked-by.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list