summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/binutils
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 /meta/recipes-devtools/binutils
parenta20600d4bb5d853fa9a0953ffbf3706d3f3d6ed6 (diff)
downloadopenembedded-core-3150c5a0c210da6bce9ccd3d1a110a4d7058166d.tar.gz
openembedded-core-3150c5a0c210da6bce9ccd3d1a110a4d7058166d.tar.bz2
openembedded-core-3150c5a0c210da6bce9ccd3d1a110a4d7058166d.tar.xz
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>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-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 e042ac76b..95e535a1b 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