diff options
Diffstat (limited to 'meta/recipes-devtools/go/go-runtime.inc')
-rw-r--r-- | meta/recipes-devtools/go/go-runtime.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-devtools/go/go-runtime.inc b/meta/recipes-devtools/go/go-runtime.inc index 0fe4566360..a79295df47 100644 --- a/meta/recipes-devtools/go/go-runtime.inc +++ b/meta/recipes-devtools/go/go-runtime.inc | |||
@@ -11,14 +11,11 @@ export GO386 = "${TARGET_GO386}" | |||
11 | export GOMIPS = "${TARGET_GOMIPS}" | 11 | export GOMIPS = "${TARGET_GOMIPS}" |
12 | export GOROOT_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/go" | 12 | export GOROOT_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/go" |
13 | export GOROOT_FINAL = "${libdir}/go" | 13 | export GOROOT_FINAL = "${libdir}/go" |
14 | export CGO_ENABLED = "1" | ||
15 | export CGO_CFLAGS = "${CFLAGS}" | 14 | export CGO_CFLAGS = "${CFLAGS}" |
16 | export CGO_CPPFLAGS = "${CPPFLAGS}" | 15 | export CGO_CPPFLAGS = "${CPPFLAGS}" |
17 | export CGO_CXXFLAGS = "${CXXFLAGS}" | 16 | export CGO_CXXFLAGS = "${CXXFLAGS}" |
18 | export CGO_LDFLAGS = "${LDFLAGS}" | 17 | export CGO_LDFLAGS = "${LDFLAGS}" |
19 | export GOCACHE = "off" | 18 | |
20 | export GOTMPDIR ?= "${WORKDIR}/go-tmp" | ||
21 | GOTMPDIR[vardepvalue] = "" | ||
22 | GO_EXTLDFLAGS ?= "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} ${LDFLAGS}" | 19 | GO_EXTLDFLAGS ?= "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} ${LDFLAGS}" |
23 | GO_LINKMODE ?= "" | 20 | GO_LINKMODE ?= "" |
24 | GO_LINKMODE_class-nativesdk = "--linkmode=external" | 21 | GO_LINKMODE_class-nativesdk = "--linkmode=external" |