mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
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>
This commit is contained in:
parent
ab373099f5
commit
31522fd942
|
@ -1,7 +1,7 @@
|
|||
inherit cross
|
||||
|
||||
# libgcc is required for the target specific libraries to build properly
|
||||
DEPENDS += "go-native libgcc"
|
||||
DEPENDS += "go-native libgcc virtual/${TARGET_PREFIX}gcc"
|
||||
|
||||
# Prevent runstrip from running because you get errors when the host arch != target arch
|
||||
#INHIBIT_PACKAGE_STRIP = "1"
|
||||
|
|
Loading…
Reference in New Issue
Block a user