diff options
-rw-r--r-- | meta/recipes-devtools/go/go-target.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/go/go-target.inc b/meta/recipes-devtools/go/go-target.inc index d085643036..ed09cfe806 100644 --- a/meta/recipes-devtools/go/go-target.inc +++ b/meta/recipes-devtools/go/go-target.inc | |||
@@ -14,9 +14,9 @@ export CGO_LDFLAGS = "${@ ' '.join(filter(lambda f: not f.startswith('-fdebug-pr | |||
14 | 14 | ||
15 | export GOCACHE = "${B}/.cache" | 15 | export GOCACHE = "${B}/.cache" |
16 | GO_LDFLAGS = "" | 16 | GO_LDFLAGS = "" |
17 | GO_LDFLAGS:class-nativesdk = "-linkmode external" | 17 | GO_LDFLAGS:class-nativesdk = " -linkmode external" |
18 | export GO_LDFLAGS | 18 | export GO_LDFLAGS |
19 | 19 | export GOBUILDFLAGS = "-gcflags=-trimpath=$GOPATH -asmflags=-trimpath=$GOPATH -trimpath" | |
20 | CC:append:class-nativesdk = " ${SECURITY_NOPIE_CFLAGS}" | 20 | CC:append:class-nativesdk = " ${SECURITY_NOPIE_CFLAGS}" |
21 | 21 | ||
22 | do_configure[noexec] = "1" | 22 | do_configure[noexec] = "1" |