summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/go/go.inc11
1 files changed, 9 insertions, 2 deletions
diff --git a/meta/recipes-devtools/go/go.inc b/meta/recipes-devtools/go/go.inc
index 5ccbf73e23..25437ddfe3 100644
--- a/meta/recipes-devtools/go/go.inc
+++ b/meta/recipes-devtools/go/go.inc
@@ -1,6 +1,13 @@
1inherit goarch 1inherit goarch
2# libgcc is required for the target specific libraries to build properly 2DEPENDS += "go-bootstrap-native"
3DEPENDS += "go-bootstrap-native libgcc" 3
4# libgcc is required for the target specific libraries to build
5# properly, but apparently not for go-cross and, more importantly,
6# also can't be used there because go-cross cannot depend on
7# the tune-specific libgcc. Otherwise go-cross also would have
8# to be tune-specific.
9DEPENDS += "${@ 'libgcc' if not oe.utils.inherits(d, 'cross') else ''}"
10
4# Prevent runstrip from running because you get errors when the host arch != target arch 11# Prevent runstrip from running because you get errors when the host arch != target arch
5INHIBIT_PACKAGE_STRIP = "1" 12INHIBIT_PACKAGE_STRIP = "1"
6INHIBIT_SYSROOT_STRIP = "1" 13INHIBIT_SYSROOT_STRIP = "1"