diff options
Diffstat (limited to 'meta/recipes-devtools/go')
-rw-r--r-- | meta/recipes-devtools/go/go-common.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-common.inc b/meta/recipes-devtools/go/go-common.inc index f18d928c70..aa2482d356 100644 --- a/meta/recipes-devtools/go/go-common.inc +++ b/meta/recipes-devtools/go/go-common.inc @@ -37,6 +37,16 @@ export GO386 ?= "${TARGET_GO386}" export GOMIPS ?= "${TARGET_GOMIPS}" export GOROOT_FINAL ?= "${libdir}/go" +GOEXPORTVARS = "1" +GOEXPORTVARS_class-native = "0" + +GOARM[export] = "${GOEXPORTVARS}" +GO386[export] = "${GOEXPORTVARS}" +GOMIPS[export] = "${GOEXPORTVARS}" +HOST_GOARM[export] = "${GOEXPORTVARS}" +HOST_GO386[export] = "${GOEXPORTVARS}" +HOST_GOMIPS[export] = "${GOEXPORTVARS}" + do_compile_prepend() { BUILD_CC=${BUILD_CC} } |