summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/go/go-target.inc4
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
15export GOCACHE = "${B}/.cache" 15export GOCACHE = "${B}/.cache"
16GO_LDFLAGS = "" 16GO_LDFLAGS = ""
17GO_LDFLAGS:class-nativesdk = "-linkmode external" 17GO_LDFLAGS:class-nativesdk = " -linkmode external"
18export GO_LDFLAGS 18export GO_LDFLAGS
19 19export GOBUILDFLAGS = "-gcflags=-trimpath=$GOPATH -asmflags=-trimpath=$GOPATH -trimpath"
20CC:append:class-nativesdk = " ${SECURITY_NOPIE_CFLAGS}" 20CC:append:class-nativesdk = " ${SECURITY_NOPIE_CFLAGS}"
21 21
22do_configure[noexec] = "1" 22do_configure[noexec] = "1"