diff mbox

[4/9] binutils: fix build on ARM

Message ID e6de63a88fd92339ab2786602c39ccbef7cdb997.1350484529.git.morten.thunbergsvendsen@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

Morten Svendsen Oct. 17, 2012, 2:37 p.m. UTC
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
---
 recipes/binutils/binutils.inc |    1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/recipes/binutils/binutils.inc b/recipes/binutils/binutils.inc
index 6a50cf2..94c4482 100644
--- a/recipes/binutils/binutils.inc
+++ b/recipes/binutils/binutils.inc
@@ -18,6 +18,7 @@  SRC_URI = "${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 "
 DEPENDS = "native:flex native:bison"
 
 EXTRA_OECONF = "--enable-install-libbfd --enable-shared"
+EXTRA_OECONF:>HOST_CPU_arm = " --disable-werror"
 
 inherit auto-package-libs
 AUTO_PACKAGE_LIBS = "bfd opcodes"