diff options
-rw-r--r-- | meta/classes/go.bbclass | 2 |
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 | |||
41 | GO_LINKMODE ?= "" | 41 | GO_LINKMODE ?= "" |
42 | GO_LINKMODE_class-nativesdk = "--linkmode=external" | 42 | GO_LINKMODE_class-nativesdk = "--linkmode=external" |
43 | GO_LDFLAGS ?= '-ldflags="${GO_RPATH} ${GO_LINKMODE} -extldflags '${GO_EXTLDFLAGS}'"' | 43 | GO_LDFLAGS ?= '-ldflags="${GO_RPATH} ${GO_LINKMODE} -extldflags '${GO_EXTLDFLAGS}'"' |
44 | export GOBUILDFLAGS ?= "-v ${GO_LDFLAGS}" | 44 | export GOBUILDFLAGS ?= "-v ${GO_LDFLAGS} -trimpath" |
45 | export GOPATH_OMIT_IN_ACTIONID ?= "1" | 45 | export GOPATH_OMIT_IN_ACTIONID ?= "1" |
46 | export GOPTESTBUILDFLAGS ?= "${GOBUILDFLAGS} -c" | 46 | export GOPTESTBUILDFLAGS ?= "${GOBUILDFLAGS} -c" |
47 | export GOPTESTFLAGS ?= "" | 47 | export GOPTESTFLAGS ?= "" |