From: Khem Raj Date: Sun, 26 Jan 2020 19:27:49 +0000 (-0800) Subject: Disable CGO on riscv64 X-Git-Tag: uninative-2.8~392 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ecec793f36545cab9c14a64b267b1d4f694d0323;p=openembedded-core.git Disable CGO on riscv64 Its not supported yet Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- 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}" export GOTOOLDIR export CGO_ENABLED ?= "1" +export CGO_ENABLED_riscv64 = "0" export CGO_CFLAGS ?= "${CFLAGS}" export CGO_CPPFLAGS ?= "${CPPFLAGS}" export CGO_CXXFLAGS ?= "${CXXFLAGS}"