summaryrefslogtreecommitdiffstats
path: root/meta/classes/goarch.bbclass
diff options
context:
space:
mode:
authorMatt Madison <matt@madison.systems>2018-03-04 13:09:31 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-06 06:43:10 -0800
commit58472bc7d07df7c713baffea16a1e3f48295cb5f (patch)
treedf3d0f4a7450f7c7216f65996ebc3e7a374a7cab /meta/classes/goarch.bbclass
parent13fd7abbe088dba1882e158270ef44a9b0c47f8e (diff)
downloadpoky-58472bc7d07df7c713baffea16a1e3f48295cb5f.tar.gz
goarch.bbclass: disable shared runtime for nativesdk builds
While useful on embedded devices for saving disk space, use of shared runtime in Go is not the usual practice, so disable it for nativesdk builds. We don't use it for native builds, either, so this makes the SDK match the native environment more closely. (From OE-Core rev: fde7017f9735c0d317023022817b28771df53109) Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/goarch.bbclass')
-rw-r--r--meta/classes/goarch.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass
index 1021b94d4c..5c8ed33b15 100644
--- a/meta/classes/goarch.bbclass
+++ b/meta/classes/goarch.bbclass
@@ -24,6 +24,7 @@ GO_DYNLINK_x86 = "1"
24GO_DYNLINK_x86-64 = "1" 24GO_DYNLINK_x86-64 = "1"
25GO_DYNLINK_powerpc64 = "1" 25GO_DYNLINK_powerpc64 = "1"
26GO_DYNLINK_class-native = "" 26GO_DYNLINK_class-native = ""
27GO_DYNLINK_class-nativesdk = ""
27 28
28# define here because everybody inherits this class 29# define here because everybody inherits this class
29# 30#