diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-01-26 11:27:49 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-27 16:48:09 +0000 |
commit | 47e4badee4f549bf93b2609d79cfc2e79e1dc3ea (patch) | |
tree | 688ed0cbd9d90be13a7f257f1a2480296297e087 /meta/classes/go.bbclass | |
parent | 649d082b4f3b099442e3611d16dba15a4f613a60 (diff) | |
download | poky-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.bbclass | 1 |
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}" | |||
53 | export GOTOOLDIR | 53 | export GOTOOLDIR |
54 | 54 | ||
55 | export CGO_ENABLED ?= "1" | 55 | export CGO_ENABLED ?= "1" |
56 | export CGO_ENABLED_riscv64 = "0" | ||
56 | export CGO_CFLAGS ?= "${CFLAGS}" | 57 | export CGO_CFLAGS ?= "${CFLAGS}" |
57 | export CGO_CPPFLAGS ?= "${CPPFLAGS}" | 58 | export CGO_CPPFLAGS ?= "${CPPFLAGS}" |
58 | export CGO_CXXFLAGS ?= "${CXXFLAGS}" | 59 | export CGO_CXXFLAGS ?= "${CXXFLAGS}" |