diff options
Diffstat (limited to 'meta/recipes-devtools/go/go_1.15.bb')
-rw-r--r-- | meta/recipes-devtools/go/go_1.15.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go_1.15.bb b/meta/recipes-devtools/go/go_1.15.bb index 4bf9dd50b2..d4812c0f0a 100644 --- a/meta/recipes-devtools/go/go_1.15.bb +++ b/meta/recipes-devtools/go/go_1.15.bb | |||
@@ -6,6 +6,8 @@ inherit linuxloader | |||
6 | export GOBUILDMODE="" | 6 | export GOBUILDMODE="" |
7 | export CGO_ENABLED_riscv64 = "" | 7 | export CGO_ENABLED_riscv64 = "" |
8 | export GO_LDSO = "${@get_linuxloader(d)}" | 8 | export GO_LDSO = "${@get_linuxloader(d)}" |
9 | export CC_FOR_TARGET = "gcc" | ||
10 | export CXX_FOR_TARGET = "g++" | ||
9 | 11 | ||
10 | # mips/rv64 doesn't support -buildmode=pie, so skip the QA checking for mips/riscv and its | 12 | # mips/rv64 doesn't support -buildmode=pie, so skip the QA checking for mips/riscv and its |
11 | # variants. | 13 | # variants. |
@@ -13,3 +15,4 @@ python() { | |||
13 | if 'mips' in d.getVar('TARGET_ARCH',True) or 'riscv' in d.getVar('TARGET_ARCH',True): | 15 | if 'mips' in d.getVar('TARGET_ARCH',True) or 'riscv' in d.getVar('TARGET_ARCH',True): |
14 | d.appendVar('INSANE_SKIP_%s' % d.getVar('PN',True), " textrel") | 16 | d.appendVar('INSANE_SKIP_%s' % d.getVar('PN',True), " textrel") |
15 | } | 17 | } |
18 | |||