summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/go/go-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/go/go-common.inc')
-rw-r--r--meta/recipes-devtools/go/go-common.inc10
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}"
37export GOMIPS ?= "${TARGET_GOMIPS}" 37export GOMIPS ?= "${TARGET_GOMIPS}"
38export GOROOT_FINAL ?= "${libdir}/go" 38export GOROOT_FINAL ?= "${libdir}/go"
39 39
40GOEXPORTVARS = "1"
41GOEXPORTVARS_class-native = "0"
42
43GOARM[export] = "${GOEXPORTVARS}"
44GO386[export] = "${GOEXPORTVARS}"
45GOMIPS[export] = "${GOEXPORTVARS}"
46HOST_GOARM[export] = "${GOEXPORTVARS}"
47HOST_GO386[export] = "${GOEXPORTVARS}"
48HOST_GOMIPS[export] = "${GOEXPORTVARS}"
49
40do_compile_prepend() { 50do_compile_prepend() {
41 BUILD_CC=${BUILD_CC} 51 BUILD_CC=${BUILD_CC}
42} 52}