From 31522fd94295d6d1c7b6c27b4cd913c8f34e7582 Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Tue, 31 Jan 2017 16:35:54 -0500 Subject: go-cross: depend on virtual/${TARGET_PREFIX}gcc This fixes the compile time error #runtime/cgo exec: "x86_64-overc-linux-gcc": executable file not found in $PATH Since we set CC_FOR_TARGET to ${TARGET_PREFIX}gcc we need to ensure this is present by adding it to the recipe DEPENDS. Signed-off-by: Mark Asselstine Signed-off-by: Bruce Ashfield --- recipes-devtools/go-cross/go-cross.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/go-cross/go-cross.inc b/recipes-devtools/go-cross/go-cross.inc index 0859fd00..7f74903a 100644 --- a/recipes-devtools/go-cross/go-cross.inc +++ b/recipes-devtools/go-cross/go-cross.inc @@ -1,7 +1,7 @@ inherit cross # libgcc is required for the target specific libraries to build properly -DEPENDS += "go-native libgcc" +DEPENDS += "go-native libgcc virtual/${TARGET_PREFIX}gcc" # Prevent runstrip from running because you get errors when the host arch != target arch #INHIBIT_PACKAGE_STRIP = "1" -- cgit v1.2.3-54-g00ecf