]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
go-runtime_1.9: pass BUILD_ flags to cgo for host-side build
authorMatt Madison <matt@madison.systems>
Sat, 21 Apr 2018 13:19:37 +0000 (06:19 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Apr 2018 16:26:05 +0000 (17:26 +0100)
commit00fe24fe8cbec81362e04c4c56ff4d33384cf72c
tree282ca78a8f67a16b3746ebed2be921eacc093f50
parentd331af97a0219a34b412f61dc429af58262f088c
go-runtime_1.9: pass BUILD_ flags to cgo for host-side build

When running the make.bash script to build the host-side
tools, make sure that cgo is using CFLAGS and LDFLAGS for
the build host, rather than those for the target.

[YOCTO #12704]

(From OE-Core rev: b1783e423444e0432d2653fbd00c18d119d82647)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/go/go-runtime_1.9.bb