diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2016-10-18 14:51:27 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-10-19 12:37:52 -0400 |
commit | d55a5799384ee0533e855bbec43704c1bd5e448f (patch) | |
tree | fcb4e942fe2dd70e26089a829b1df298c1c618f1 | |
parent | c3d8676a0cacc52536bb58828dcfdbc386e6e7c7 (diff) | |
download | meta-virtualization-d55a5799384ee0533e855bbec43704c1bd5e448f.tar.gz |
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.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-devtools/go-cross/go-cross.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-devtools/go-cross/go-cross.inc b/recipes-devtools/go-cross/go-cross.inc index 181f4aad..31749878 100644 --- a/recipes-devtools/go-cross/go-cross.inc +++ b/recipes-devtools/go-cross/go-cross.inc | |||
@@ -1,6 +1,7 @@ | |||
1 | inherit cross | 1 | inherit cross |
2 | 2 | ||
3 | DEPENDS += "go-native" | 3 | # libgcc is required for the target specific libraries to build properly |
4 | DEPENDS += "go-native libgcc" | ||
4 | 5 | ||
5 | # Prevent runstrip from running because you get errors when the host arch != target arch | 6 | # Prevent runstrip from running because you get errors when the host arch != target arch |
6 | #INHIBIT_PACKAGE_STRIP = "1" | 7 | #INHIBIT_PACKAGE_STRIP = "1" |