mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
binutils-cross-canadian.inc: disable -werror like -cross does
The error this works around is: cc1: warnings being treated as errors gas/config/tc-arm.c: In function 'parse_operands': gas/config/tc-arm.c:1876:27: error: 'firsttype$defined' may be used uninitialized in this function gas/config/tc-arm.c:1876:27: error: 'firsttype$index' may be used uninitialized in this function Ideally it should get fixed properly, but let's mimic binutils-cross for now Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a20600d4bb
commit
3150c5a0c2
@@ -6,7 +6,8 @@ BPN = "binutils"
|
||||
|
||||
DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk"
|
||||
EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \
|
||||
--program-prefix=${TARGET_PREFIX}"
|
||||
--program-prefix=${TARGET_PREFIX} \
|
||||
--disable-werror"
|
||||
|
||||
do_install () {
|
||||
autotools_do_install
|
||||
|
||||
Reference in New Issue
Block a user