[OE-core] [PATCH 4/4] go: Use CC for CC_FOR_TARGET and CXX for CXX_FOR_TARGET
Khem Raj
raj.khem at gmail.com
Sat Feb 25 18:13:14 UTC 2017
Helps building with clang
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta/recipes-devtools/go/go.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/go/go.inc b/meta/recipes-devtools/go/go.inc
index 2449936dab..754fa34c1b 100644
--- a/meta/recipes-devtools/go/go.inc
+++ b/meta/recipes-devtools/go/go.inc
@@ -13,8 +13,8 @@ export GOARM = "${TARGET_GOARM}"
export GOROOT_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/go"
export GOROOT_FINAL = "${libdir}/go"
export CGO_ENABLED = "1"
-export CC_FOR_TARGET="${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}"
-export CXX_FOR_TARGET="${TARGET_PREFIX}g++ ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}"
+export CC_FOR_TARGET = "${CC}"
+export CXX_FOR_TARGET = "${CXX}"
do_configure[noexec] = "1"
--
2.11.1
More information about the Openembedded-core
mailing list