diff options
Diffstat (limited to 'meta/recipes-devtools/go/go-runtime.inc')
-rw-r--r-- | meta/recipes-devtools/go/go-runtime.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-runtime.inc b/meta/recipes-devtools/go/go-runtime.inc index c219aa3789..e282195619 100644 --- a/meta/recipes-devtools/go/go-runtime.inc +++ b/meta/recipes-devtools/go/go-runtime.inc | |||
@@ -15,6 +15,7 @@ export CGO_CFLAGS = "${CFLAGS}" | |||
15 | export CGO_CPPFLAGS = "${CPPFLAGS}" | 15 | export CGO_CPPFLAGS = "${CPPFLAGS}" |
16 | export CGO_CXXFLAGS = "${CXXFLAGS}" | 16 | export CGO_CXXFLAGS = "${CXXFLAGS}" |
17 | export CGO_LDFLAGS = "${LDFLAGS}" | 17 | export CGO_LDFLAGS = "${LDFLAGS}" |
18 | export GOCACHE = "${B}/.cache" | ||
18 | 19 | ||
19 | GO_EXTLDFLAGS ?= "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} ${LDFLAGS}" | 20 | GO_EXTLDFLAGS ?= "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} ${LDFLAGS}" |
20 | GO_SHLIB_LDFLAGS ?= '-ldflags="--linkmode=external -extldflags '${GO_EXTLDFLAGS}'"' | 21 | GO_SHLIB_LDFLAGS ?= '-ldflags="--linkmode=external -extldflags '${GO_EXTLDFLAGS}'"' |