mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 06:45:32 +01:00
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>
This commit is contained in:
parent
8cf2d4a838
commit
9ea43bd128
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user