]> code.ossystems Code Review - openembedded-core.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 10:15:06 +0000 (11:15 +0100)
commitb1783e423444e0432d2653fbd00c18d119d82647
treeba03b43ad47d28cacba209b9d6be4ad3a327e942
parent802a2877a78a44c17f3e142f7d12017a08d09dad
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]

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