mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
go-native: Add work around for binutils >= 2.27
We only use go-native to bootstrap go-cross and according to a post in the go-lang git it is possible to work around by disabling CGO: https://github.com/golang/go/issues/16906 This patch fixes the compile failure with binutils 2.27 which has the message: cannot load DWARF output from $WORK/net/_obj//_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0 Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
d866c439cb
commit
c3d8676a0c
|
@ -16,7 +16,7 @@ do_compile() {
|
|||
mkdir -p ${WORKDIR}/build-tmp
|
||||
|
||||
cd src
|
||||
./make.bash --host-only
|
||||
CGO_ENABLED=0 ./make.bash --host-only
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user