diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-03 22:24:28 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-06 12:13:16 +0000 |
commit | 891d30a5d435081b72790eba86a642ce5df0a353 (patch) | |
tree | 1417f531eaf5eb9929c5d37df2b5c22ee62461e4 /meta/recipes-devtools/go/go-target.inc | |
parent | eec5c8778f4cf8961744f936bb1103e7d9b8ff4e (diff) | |
download | poky-891d30a5d435081b72790eba86a642ce5df0a353.tar.gz |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/go/go-target.inc')
-rw-r--r-- | meta/recipes-devtools/go/go-target.inc | 4 |
1 files changed, 1 insertions, 3 deletions
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}" | |||
13 | export CGO_LDFLAGS = "${@ ' '.join(filter(lambda f: not f.startswith('-fdebug-prefix-map'), d.getVar('LDFLAGS').split())) }" | 13 | export CGO_LDFLAGS = "${@ ' '.join(filter(lambda f: not f.startswith('-fdebug-prefix-map'), d.getVar('LDFLAGS').split())) }" |
14 | 14 | ||
15 | export GOCACHE = "${B}/.cache" | 15 | export GOCACHE = "${B}/.cache" |
16 | GO_LDFLAGS = "" | 16 | export GO_LDFLAGS = "" |
17 | GO_LDFLAGS:class-nativesdk = " -linkmode external" | ||
18 | export GO_LDFLAGS | ||
19 | export GOBUILDFLAGS = "-gcflags=-trimpath=$GOPATH -asmflags=-trimpath=$GOPATH -trimpath" | 17 | export GOBUILDFLAGS = "-gcflags=-trimpath=$GOPATH -asmflags=-trimpath=$GOPATH -trimpath" |
20 | CC:append:class-nativesdk = " ${SECURITY_NOPIE_CFLAGS}" | 18 | CC:append:class-nativesdk = " ${SECURITY_NOPIE_CFLAGS}" |
21 | 19 | ||