diff options
Diffstat (limited to 'meta/recipes-devtools/go/go-cross-canadian.inc')
-rw-r--r-- | meta/recipes-devtools/go/go-cross-canadian.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-cross-canadian.inc b/meta/recipes-devtools/go/go-cross-canadian.inc index f3ab7351db..8afda6b2ce 100644 --- a/meta/recipes-devtools/go/go-cross-canadian.inc +++ b/meta/recipes-devtools/go/go-cross-canadian.inc | |||
@@ -41,6 +41,7 @@ native_goroot=\`readlink -f \$here/../../lib/${TARGET_SYS}/go\` | |||
41 | export GOARCH="${TARGET_GOARCH}" | 41 | export GOARCH="${TARGET_GOARCH}" |
42 | export GOOS="${TARGET_GOOS}" | 42 | export GOOS="${TARGET_GOOS}" |
43 | test -n "\$GOARM" || export GOARM="${TARGET_GOARM}" | 43 | test -n "\$GOARM" || export GOARM="${TARGET_GOARM}" |
44 | test -n "\$GO386" || export GO386="${TARGET_GO386}" | ||
44 | export GOTOOLDIR="\$native_goroot/pkg/tool/${HOST_GOTUPLE}" | 45 | export GOTOOLDIR="\$native_goroot/pkg/tool/${HOST_GOTUPLE}" |
45 | test -n "\$GOROOT" || export GOROOT="\$OECORE_TARGET_SYSROOT/${target_libdir}/go" | 46 | test -n "\$GOROOT" || export GOROOT="\$OECORE_TARGET_SYSROOT/${target_libdir}/go" |
46 | \$here/../../lib/${TARGET_SYS}/go/bin/$1 "\$@" | 47 | \$here/../../lib/${TARGET_SYS}/go/bin/$1 "\$@" |