summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2017-01-31 16:35:54 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-02-01 13:02:47 -0500
commit31522fd94295d6d1c7b6c27b4cd913c8f34e7582 (patch)
tree75f118a66517c524f267548abb99318e3c25511b
parentab373099f54d2dd32882359a4c57bc26a17e5b76 (diff)
downloadmeta-virtualization-31522fd94295d6d1c7b6c27b4cd913c8f34e7582.tar.gz
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 <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-devtools/go-cross/go-cross.inc2
1 files changed, 1 insertions, 1 deletions
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 @@
1inherit cross 1inherit cross
2 2
3# libgcc is required for the target specific libraries to build properly 3# libgcc is required for the target specific libraries to build properly
4DEPENDS += "go-native libgcc" 4DEPENDS += "go-native libgcc virtual/${TARGET_PREFIX}gcc"
5 5
6# Prevent runstrip from running because you get errors when the host arch != target arch 6# Prevent runstrip from running because you get errors when the host arch != target arch
7#INHIBIT_PACKAGE_STRIP = "1" 7#INHIBIT_PACKAGE_STRIP = "1"