summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/go.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass
index c99689ac59..a9e31b50ea 100644
--- a/meta/classes/go.bbclass
+++ b/meta/classes/go.bbclass
@@ -41,7 +41,7 @@ GO_EXTLDFLAGS ?= "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} ${GO_RPATH_LINK} ${LDFLAGS
41GO_LINKMODE ?= "" 41GO_LINKMODE ?= ""
42GO_LINKMODE_class-nativesdk = "--linkmode=external" 42GO_LINKMODE_class-nativesdk = "--linkmode=external"
43GO_LDFLAGS ?= '-ldflags="${GO_RPATH} ${GO_LINKMODE} -extldflags '${GO_EXTLDFLAGS}'"' 43GO_LDFLAGS ?= '-ldflags="${GO_RPATH} ${GO_LINKMODE} -extldflags '${GO_EXTLDFLAGS}'"'
44export GOBUILDFLAGS ?= "-v ${GO_LDFLAGS}" 44export GOBUILDFLAGS ?= "-v ${GO_LDFLAGS} -trimpath"
45export GOPATH_OMIT_IN_ACTIONID ?= "1" 45export GOPATH_OMIT_IN_ACTIONID ?= "1"
46export GOPTESTBUILDFLAGS ?= "${GOBUILDFLAGS} -c" 46export GOPTESTBUILDFLAGS ?= "${GOBUILDFLAGS} -c"
47export GOPTESTFLAGS ?= "" 47export GOPTESTFLAGS ?= ""