by GO_LINKSHARED) to respect the
licensing part here.
On 21.08.21 22:09, Oliver Kranz wrote:
Static linking has the following benefits:
- go-md2man (-> podman) compiles
- imagesize reduces, combined linking overhead needs
to be > 37643776 (go-runtime) for dynamic linking
to be bene
ker-ce, k3s, skopeo are ignoring the flag anyways.
Signed-off-by: Oliver Kranz
---
meta/classes/goarch.bbclass | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass
index 92fec16b82..6e9128e44a 100644
--- a/meta/c
On 20.08.21 02:01, Khem Raj wrote:
On Thu, Aug 19, 2021 at 2:22 AM Oliver Kranz wrote:
Small golang applications create massive memory overhead if go-runtime
is deployed. So it is helpfull to be able to disable the GO_DYNLINK
option on a per distro/local.conf basis by making it a ?= instead
Small golang applications create massive memory overhead if go-runtime
is deployed. So it is helpfull to be able to disable the GO_DYNLINK
option on a per distro/local.conf basis by making it a ?= instead of =.
Signed-off-by: Oliver Kranz
---
meta/classes/goarch.bbclass | 14 +++---
1