summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Quaresma <quaresma.jose@gmail.com>2024-04-19 18:53:09 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-22 22:05:58 +0100
commit2bd34bf292ea4bf7ab867e7e401ea80389798130 (patch)
treef27bc73ad799508e072d17b37c01e6d1a5414344
parentc9d4417499ee3832fec841c62c3630be0582d28b (diff)
downloadpoky-2bd34bf292ea4bf7ab867e7e401ea80389798130.tar.gz
Revert "goarch: disable dynamic linking globally"
This reverts commit 827c60b79e7fcafd14e68870f6b69dcc48ac9c39. Fixed with the drop of the linkmode (From OE-Core rev: a586838a7957652e82b7646386d81bfcd62364ab) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes-recipe/goarch.bbclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/classes-recipe/goarch.bbclass b/meta/classes-recipe/goarch.bbclass
index 6899ec28e4..1ebe03864f 100644
--- a/meta/classes-recipe/goarch.bbclass
+++ b/meta/classes-recipe/goarch.bbclass
@@ -38,13 +38,13 @@ BASE_GOARM:armv5 = '5'
38# Go supports dynamic linking on a limited set of architectures. 38# Go supports dynamic linking on a limited set of architectures.
39# See the supportsDynlink function in go/src/cmd/compile/internal/gc/main.go 39# See the supportsDynlink function in go/src/cmd/compile/internal/gc/main.go
40GO_DYNLINK = "" 40GO_DYNLINK = ""
41GO_DYNLINK:arm = "" 41GO_DYNLINK:arm ?= "1"
42GO_DYNLINK:aarch64 = "" 42GO_DYNLINK:aarch64 ?= "1"
43GO_DYNLINK:x86 = "" 43GO_DYNLINK:x86 ?= "1"
44GO_DYNLINK:x86-64 = "" 44GO_DYNLINK:x86-64 ?= "1"
45GO_DYNLINK:powerpc64 = "" 45GO_DYNLINK:powerpc64 ?= "1"
46GO_DYNLINK:powerpc64le = "" 46GO_DYNLINK:powerpc64le ?= "1"
47GO_DYNLINK:class-native = "" 47GO_DYNLINK:class-native ?= ""
48GO_DYNLINK:class-nativesdk = "" 48GO_DYNLINK:class-nativesdk = ""
49 49
50# define here because everybody inherits this class 50# define here because everybody inherits this class