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>
This commit is contained in:
Koen Kooi 2011-02-09 11:36:12 +01:00
parent 8cf2d4a838
commit 9ea43bd128

View File

@ -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