[meta-virtualization] [PATCH] go-cross: Fix failure if building go-cross first

Jason Wessel jason.wessel at windriver.com
Tue Oct 18 12:51:27 PDT 2016


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.wessel at 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



More information about the meta-virtualization mailing list