diff options
Diffstat (limited to 'meta/recipes-devtools/go/go-common.inc')
-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 93a3d3b5fb..f18d928c70 100644 --- a/meta/recipes-devtools/go/go-common.inc +++ b/meta/recipes-devtools/go/go-common.inc | |||
@@ -27,6 +27,16 @@ export GOTMPDIR ?= "${WORKDIR}/go-tmp" | |||
27 | GOTMPDIR[vardepvalue] = "" | 27 | GOTMPDIR[vardepvalue] = "" |
28 | export CGO_ENABLED = "1" | 28 | export CGO_ENABLED = "1" |
29 | 29 | ||
30 | export GOHOSTOS ?= "${BUILD_GOOS}" | ||
31 | export GOHOSTARCH ?= "${BUILD_GOARCH}" | ||
32 | export GOROOT_BOOTSTRAP ?= "${STAGING_LIBDIR_NATIVE}/go" | ||
33 | export GOOS ?= "${TARGET_GOOS}" | ||
34 | export GOARCH ?= "${TARGET_GOARCH}" | ||
35 | export GOARM ?= "${TARGET_GOARM}" | ||
36 | export GO386 ?= "${TARGET_GO386}" | ||
37 | export GOMIPS ?= "${TARGET_GOMIPS}" | ||
38 | export GOROOT_FINAL ?= "${libdir}/go" | ||
39 | |||
30 | do_compile_prepend() { | 40 | do_compile_prepend() { |
31 | BUILD_CC=${BUILD_CC} | 41 | BUILD_CC=${BUILD_CC} |
32 | } | 42 | } |