mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-05 05:15:25 +02:00
netns: Use correct go toolchain
If we don't explicitly set the GO variable as an argument to make then the native go toolchain is invoked instead of the cross-toolchain we actually want. This can result in a netns binary which is built for the wrong architecture. Signed-off-by: Paul Barker <paul@betafive.co.uk> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
cf352d7493
commit
d56c5abfde
|
@ -15,6 +15,8 @@ S = "${WORKDIR}/git"
|
|||
inherit goarch
|
||||
inherit go
|
||||
|
||||
EXTRA_OEMAKE = "GO='${GO}'"
|
||||
|
||||
do_compile() {
|
||||
export GOARCH="${TARGET_GOARCH}"
|
||||
export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go"
|
||||
|
|
Loading…
Reference in New Issue
Block a user