aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-02-09 11:36:12 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-02-09 11:36:12 +0100
commit9ea43bd128ccc46b3a7dbd317f8b81a32456aa0f (patch)
tree969db3fbc00c4c40ad8c6bb44ce2fb938da680c7
parent8cf2d4a838783975eecba37bb7551d800e095a6a (diff)
downloadmeta-openembedded-9ea43bd128ccc46b3a7dbd317f8b81a32456aa0f.tar.gz
meta-openembedded-9ea43bd128ccc46b3a7dbd317f8b81a32456aa0f.tar.bz2
meta-openembedded-9ea43bd128ccc46b3a7dbd317f8b81a32456aa0f.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>
-rw-r--r--recipes-devtools/binutils/binutils-cross-canadian.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-devtools/binutils/binutils-cross-canadian.inc b/recipes-devtools/binutils/binutils-cross-canadian.inc
index e042ac76b..95e535a1b 100644
--- a/recipes-devtools/binutils/binutils-cross-canadian.inc
+++ b/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