diff options
Diffstat (limited to 'meta/recipes-devtools/go/go-cross_1.9.bb')
| -rw-r--r-- | meta/recipes-devtools/go/go-cross_1.9.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-cross_1.9.bb b/meta/recipes-devtools/go/go-cross_1.9.bb index 80b5a03f6c..4739c7d5c4 100644 --- a/meta/recipes-devtools/go/go-cross_1.9.bb +++ b/meta/recipes-devtools/go/go-cross_1.9.bb | |||
| @@ -1,2 +1,10 @@ | |||
| 1 | require go-cross.inc | 1 | require go-cross.inc |
| 2 | require go-${PV}.inc | 2 | require go-${PV}.inc |
| 3 | |||
| 4 | export CC_FOR_TARGET = "${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}" | ||
| 5 | export CXX_FOR_TARGET = "${TARGET_PREFIX}g++ ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}" | ||
| 6 | |||
| 7 | do_compile_prepend() { | ||
| 8 | export GOBIN="${B}/bin" | ||
| 9 | export TMPDIR="$GOTMPDIR" | ||
| 10 | } | ||
