diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-devtools/go/go-common.inc')
-rw-r--r-- | import-layers/yocto-poky/meta/recipes-devtools/go/go-common.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-devtools/go/go-common.inc b/import-layers/yocto-poky/meta/recipes-devtools/go/go-common.inc index f74b8b765..9af68738a 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/go/go-common.inc +++ b/import-layers/yocto-poky/meta/recipes-devtools/go/go-common.inc @@ -14,9 +14,13 @@ LICENSE = "BSD-3-Clause" inherit goarch -SRC_URI = "http://golang.org/dl/go${PV}.src.tar.gz" +SRC_URI = "http://golang.org/dl/go${PV}.src.tar.gz;name=main" S = "${WORKDIR}/go" B = "${S}" INHIBIT_PACKAGE_DEBUG_SPLIT = "1" SSTATE_SCAN_CMD = "true" + +do_compile_prepend() { + BUILD_CC=${BUILD_CC} +} |