]> code.ossystems Code Review - openembedded-core.git/commitdiff
goarch.bbclass: disable shared runtime for nativesdk builds
authorMatt Madison <matt@madison.systems>
Sun, 4 Mar 2018 21:09:31 +0000 (13:09 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Mar 2018 14:36:33 +0000 (06:36 -0800)
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.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/goarch.bbclass

index 1021b94d4c80ea1ba0935d4ac28ccdfaf9bec622..5c8ed33b1573d7b0ee4dc0cebe8ac28302555b58 100644 (file)
@@ -24,6 +24,7 @@ GO_DYNLINK_x86 = "1"
 GO_DYNLINK_x86-64 = "1"
 GO_DYNLINK_powerpc64 = "1"
 GO_DYNLINK_class-native = ""
+GO_DYNLINK_class-nativesdk = ""
 
 # define here because everybody inherits this class
 #