]> code.ossystems Code Review - openembedded-core.git/commit
go: ensure use of BUILD_CC when building bootstrap tools
authorMatt Madison <matt@madison.systems>
Tue, 14 Nov 2017 17:20:15 +0000 (09:20 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Dec 2017 11:24:37 +0000 (11:24 +0000)
commit0dbb860924fc157880b52d8e08bad3c6c6b019b8
tree5fa88ea0bfc90de8f8fbb7ec5c5e31245d391a58
parent21d5a52d86a4090f7ddb1a9eb41bb143261f890e
go: ensure use of BUILD_CC when building bootstrap tools

For cross-canadian builds, we were accidentally using
the crosssdk C compiler when building the Go compiler
bootstrap.  Add a patch to the make script to let us
use BUILD_CC, and prepend do_compile to set it in
the local environment to ensure that the trailing
blank gets stripped, since that confuses Go.

[YOCTO #12341]

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/go/go-1.9.inc
meta/recipes-devtools/go/go-1.9/0010-make.bash-override-CC-when-building-dist-and-go_boot.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-common.inc