If go-cross is built as the first package it will fail creating the
target libraries used for cross-compilation because it requires libgcc.

Signed-off-by: Jason Wessel <jason.wes...@windriver.com>
---
 recipes-devtools/go-cross/go-cross.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-devtools/go-cross/go-cross.inc 
b/recipes-devtools/go-cross/go-cross.inc
index 181f4aa..3174987 100644
--- a/recipes-devtools/go-cross/go-cross.inc
+++ b/recipes-devtools/go-cross/go-cross.inc
@@ -1,6 +1,7 @@
 inherit cross
 
-DEPENDS += "go-native"
+# libgcc is required for the target specific libraries to build properly
+DEPENDS += "go-native libgcc"
 
 # Prevent runstrip from running because you get errors when the host arch != 
target arch
 #INHIBIT_PACKAGE_STRIP = "1"
-- 
1.9.1

-- 
_______________________________________________
meta-virtualization mailing list
meta-virtualization@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to