From 891d30a5d435081b72790eba86a642ce5df0a353 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 3 Mar 2024 22:24:28 +0000 Subject: go: Drop linkmode with nativesdk/cross-canadian In 1.22 this appears to cause failures and no longer appears to be needed. (From OE-Core rev: 6fe1a4336adbee546085fa76ed9448f82736a590) Signed-off-by: Richard Purdie --- meta/recipes-devtools/go/go-target.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'meta/recipes-devtools/go/go-target.inc') diff --git a/meta/recipes-devtools/go/go-target.inc b/meta/recipes-devtools/go/go-target.inc index a4b55ad3d8..981c7abd31 100644 --- a/meta/recipes-devtools/go/go-target.inc +++ b/meta/recipes-devtools/go/go-target.inc @@ -13,9 +13,7 @@ export CGO_CXXFLAGS = "${CXXFLAGS}" export CGO_LDFLAGS = "${@ ' '.join(filter(lambda f: not f.startswith('-fdebug-prefix-map'), d.getVar('LDFLAGS').split())) }" export GOCACHE = "${B}/.cache" -GO_LDFLAGS = "" -GO_LDFLAGS:class-nativesdk = " -linkmode external" -export GO_LDFLAGS +export GO_LDFLAGS = "" export GOBUILDFLAGS = "-gcflags=-trimpath=$GOPATH -asmflags=-trimpath=$GOPATH -trimpath" CC:append:class-nativesdk = " ${SECURITY_NOPIE_CFLAGS}" -- cgit v1.2.3-54-g00ecf