summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-02-09 11:35:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-09 11:07:49 +0000
commit3150c5a0c210da6bce9ccd3d1a110a4d7058166d (patch)
tree792d34c7a58fe72a79cfd71bfa2a62d03aa5f44a
parenta20600d4bb5d853fa9a0953ffbf3706d3f3d6ed6 (diff)
downloadpoky-3150c5a0c210da6bce9ccd3d1a110a4d7058166d.tar.gz
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.inc3
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"
6 6
7DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk" 7DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk"
8EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \ 8EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \
9 --program-prefix=${TARGET_PREFIX}" 9 --program-prefix=${TARGET_PREFIX} \
10 --disable-werror"
10 11
11do_install () { 12do_install () {
12 autotools_do_install 13 autotools_do_install