From 3150c5a0c210da6bce9ccd3d1a110a4d7058166d Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 9 Feb 2011 11:35:49 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/binutils/binutils-cross-canadian.inc') diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc index e042ac76b5..95e535a1b7 100644 --- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc @@ -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 -- cgit v1.2.3