From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sat, 21 Oct 2017 21:51:07 +0200 Subject: [Buildroot] [RFC v2 1/4] package/go: fixing crosscompilation settings In-Reply-To: <1508173728-29181-1-git-send-email-angelo.compagnucci@gmail.com> References: <1508173728-29181-1-git-send-email-angelo.compagnucci@gmail.com> Message-ID: <20171021215107.1e4fa5e2@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 > --- > 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