diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-02-09 11:35:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-09 11:07:49 +0000 |
commit | 3150c5a0c210da6bce9ccd3d1a110a4d7058166d (patch) | |
tree | 792d34c7a58fe72a79cfd71bfa2a62d03aa5f44a | |
parent | a20600d4bb5d853fa9a0953ffbf3706d3f3d6ed6 (diff) | |
download | openembedded-core-3150c5a0c210da6bce9ccd3d1a110a4d7058166d.tar.gz openembedded-core-3150c5a0c210da6bce9ccd3d1a110a4d7058166d.tar.bz2 openembedded-core-3150c5a0c210da6bce9ccd3d1a110a4d7058166d.zip |
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>
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 3 |
1 files changed, 2 insertions, 1 deletions
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 |