summaryrefslogtreecommitdiffstats
path: root/meta/classes/go.bbclass
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-26 11:27:49 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-27 16:48:09 +0000
commit47e4badee4f549bf93b2609d79cfc2e79e1dc3ea (patch)
tree688ed0cbd9d90be13a7f257f1a2480296297e087 /meta/classes/go.bbclass
parent649d082b4f3b099442e3611d16dba15a4f613a60 (diff)
downloadpoky-47e4badee4f549bf93b2609d79cfc2e79e1dc3ea.tar.gz
Disable CGO on riscv64
Its not supported yet (From OE-Core rev: ecec793f36545cab9c14a64b267b1d4f694d0323) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/go.bbclass')
-rw-r--r--meta/classes/go.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass
index 369652dbbd..c99689ac59 100644
--- a/meta/classes/go.bbclass
+++ b/meta/classes/go.bbclass
@@ -53,6 +53,7 @@ GOTOOLDIR_class-native = "${STAGING_LIBDIR_NATIVE}/go/pkg/tool/${BUILD_GOTUPLE}"
53export GOTOOLDIR 53export GOTOOLDIR
54 54
55export CGO_ENABLED ?= "1" 55export CGO_ENABLED ?= "1"
56export CGO_ENABLED_riscv64 = "0"
56export CGO_CFLAGS ?= "${CFLAGS}" 57export CGO_CFLAGS ?= "${CFLAGS}"
57export CGO_CPPFLAGS ?= "${CPPFLAGS}" 58export CGO_CPPFLAGS ?= "${CPPFLAGS}"
58export CGO_CXXFLAGS ?= "${CXXFLAGS}" 59export CGO_CXXFLAGS ?= "${CXXFLAGS}"