diff options
-rw-r--r-- | meta/recipes-devtools/go/go.inc | 11 |
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 @@ | |||
1 | inherit goarch | 1 | inherit goarch |
2 | # libgcc is required for the target specific libraries to build properly | 2 | DEPENDS += "go-bootstrap-native" |
3 | DEPENDS += "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. | ||
9 | DEPENDS += "${@ '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 |
5 | INHIBIT_PACKAGE_STRIP = "1" | 12 | INHIBIT_PACKAGE_STRIP = "1" |
6 | INHIBIT_SYSROOT_STRIP = "1" | 13 | INHIBIT_SYSROOT_STRIP = "1" |