diff options
author | Mark Asselstine <mark.asselstine@windriver.com> | 2017-01-31 16:35:54 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-02-01 13:02:47 -0500 |
commit | 31522fd94295d6d1c7b6c27b4cd913c8f34e7582 (patch) | |
tree | 75f118a66517c524f267548abb99318e3c25511b /recipes-devtools | |
parent | ab373099f54d2dd32882359a4c57bc26a17e5b76 (diff) | |
download | meta-virtualization-31522fd94295d6d1c7b6c27b4cd913c8f34e7582.tar.gz |
go-cross: depend on virtual/${TARGET_PREFIX}gcc
This fixes the compile time error
#runtime/cgo
exec: "x86_64-overc-linux-gcc": executable file not found in $PATH
Since we set CC_FOR_TARGET to ${TARGET_PREFIX}gcc we need to ensure
this is present by adding it to the recipe DEPENDS.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r-- | recipes-devtools/go-cross/go-cross.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-devtools/go-cross/go-cross.inc b/recipes-devtools/go-cross/go-cross.inc index 0859fd00..7f74903a 100644 --- a/recipes-devtools/go-cross/go-cross.inc +++ b/recipes-devtools/go-cross/go-cross.inc | |||
@@ -1,7 +1,7 @@ | |||
1 | inherit cross | 1 | inherit cross |
2 | 2 | ||
3 | # libgcc is required for the target specific libraries to build properly | 3 | # libgcc is required for the target specific libraries to build properly |
4 | DEPENDS += "go-native libgcc" | 4 | DEPENDS += "go-native libgcc virtual/${TARGET_PREFIX}gcc" |
5 | 5 | ||
6 | # 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 |
7 | #INHIBIT_PACKAGE_STRIP = "1" | 7 | #INHIBIT_PACKAGE_STRIP = "1" |