summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-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}"