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 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}" | |||
37 | export GOMIPS ?= "${TARGET_GOMIPS}" | 37 | export GOMIPS ?= "${TARGET_GOMIPS}" |
38 | export GOROOT_FINAL ?= "${libdir}/go" | 38 | export GOROOT_FINAL ?= "${libdir}/go" |
39 | 39 | ||
40 | GOEXPORTVARS = "1" | ||
41 | GOEXPORTVARS_class-native = "0" | ||
42 | |||
43 | GOARM[export] = "${GOEXPORTVARS}" | ||
44 | GO386[export] = "${GOEXPORTVARS}" | ||
45 | GOMIPS[export] = "${GOEXPORTVARS}" | ||
46 | HOST_GOARM[export] = "${GOEXPORTVARS}" | ||
47 | HOST_GO386[export] = "${GOEXPORTVARS}" | ||
48 | HOST_GOMIPS[export] = "${GOEXPORTVARS}" | ||
49 | |||
40 | do_compile_prepend() { | 50 | do_compile_prepend() { |
41 | BUILD_CC=${BUILD_CC} | 51 | BUILD_CC=${BUILD_CC} |
42 | } | 52 | } |