[poky] [PATCH] binutils-cross-canadian.inc: disable -werror like -cross does
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Feb 9 03:08:04 PST 2011
On Wed, 2011-02-09 at 11:35 +0100, Koen Kooi wrote:
> 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 at dominion.thruhere.net>
> ---
> .../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 e042ac7..95e535a 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
Merged to master, thanks.
Richard
More information about the poky
mailing list