Skip to contentSkip to conversation

go-cross: Fix failure if building go-cross first

PATCH New Jason Wessel 1 participant 1 message Oct 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 go-cross: Fix failure if building go-cross first

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

---
 recipes-devtools/go-cross/go-cross.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-devtools/go-cross/go-cross.inc +2 -1
index 181f4aa..3174987 100644
@@ -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"
Signature · 1 line
1.9.1