[OE-core] [PATCH] go, go-common: Add missing quotes in shell variable assignment

Phil Blundell pb at pbcl.net
Thu Jan 31 12:43:02 UTC 2019


Otherwise we will lose if ${BUILD_CC} happens to contain a space.
Signed-off-by: Phil Blundell <pb at pbcl.net>--- meta/recipes-
devtools/go/go-common.inc | 2 +- meta/recipes-
devtools/go/go_1.9.bb     | 2 +- 2 files changed, 2 insertions(+), 2
deletions(-)
diff --git a/meta/recipes-devtools/go/go-common.inc b/meta/recipes-
devtools/go/go-common.incindex 11d55c4d36..d6dc455813 100644---
a/meta/recipes-devtools/go/go-common.inc+++ b/meta/recipes-
devtools/go/go-common.inc@@ -29,5 +29,5 @@ export GOCACHE = "off"
export CGO_ENABLED = "1"  do_compile_prepend() {-	BUILD_CC=${BUIL
D_CC}+	BUILD_CC="${BUILD_CC}" }diff --git a/meta/recipes-
devtools/go/go_1.9.bb b/meta/recipes-devtools/go/go_1.9.bbindex
ec5a314e7d..e121e2790f 100644--- a/meta/recipes-
devtools/go/go_1.9.bb+++ b/meta/recipes-devtools/go/go_1.9.bb@@ -9,7
+9,7 @@ export CXX_FOR_TARGET = "${CXX}" do_compile() { 	export
GOBIN="${B}/bin" 	export TMPDIR="$GOTMPDIR"-	export
CC=$BUILD_CC+	export CC="$BUILD_CC"  	cd src 	./make.bash-- 2.20.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190131/fd5c9d49/attachment.html>


More information about the Openembedded-core mailing list