diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-02-09 11:36:12 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-02-09 11:36:12 +0100 |
commit | 9ea43bd128ccc46b3a7dbd317f8b81a32456aa0f (patch) | |
tree | 969db3fbc00c4c40ad8c6bb44ce2fb938da680c7 /recipes-devtools | |
parent | 8cf2d4a838783975eecba37bb7551d800e095a6a (diff) | |
download | meta-openembedded-9ea43bd128ccc46b3a7dbd317f8b81a32456aa0f.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>
Diffstat (limited to 'recipes-devtools')
-rw-r--r-- | recipes-devtools/binutils/binutils-cross-canadian.inc | 3 |
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" | |||
6 | 6 | ||
7 | DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk" | 7 | DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk" |
8 | EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \ | 8 | EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \ |
9 | --program-prefix=${TARGET_PREFIX}" | 9 | --program-prefix=${TARGET_PREFIX} \ |
10 | --disable-werror" | ||
10 | 11 | ||
11 | do_install () { | 12 | do_install () { |
12 | autotools_do_install | 13 | autotools_do_install |