From: Frans Meulenbroeks Date: Sat, 5 Mar 2011 17:43:25 +0000 (+0100) Subject: binutils 2.17.50: fixed nios2 build X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f14b336a25c472d07a1a6a355de3a2fbc9d5fba8;p=openembedded.git binutils 2.17.50: fixed nios2 build apparently somewhere along the line the nios build for this pacakge was broken. This fixes it: added -Wno-error as there were a few warnings in the nios2 specific part added LDFLAGS to fix GNU hash QA error both changes are nios2 specific so _append_nios2 Signed-off-by: Frans Meulenbroeks --- diff --git a/recipes/binutils/binutils_2.17.50.0.12.bb b/recipes/binutils/binutils_2.17.50.0.12.bb index 55d7614a9a..ea47eb4b34 100644 --- a/recipes/binutils/binutils_2.17.50.0.12.bb +++ b/recipes/binutils/binutils_2.17.50.0.12.bb @@ -1,5 +1,5 @@ require binutils.inc -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" COMPATIBLE_TARGET_SYS = "." @@ -18,5 +18,8 @@ SRC_URI_append_nios2 =" \ file://binutils-nios2.patch \ " +CFLAGS_append_nios2 += "-Wno-error" +TARGET_CC_ARCH_append_nios2 += "${LDFLAGS}" + SRC_URI[md5sum] = "6f3e83399b965d70008860f697c50ec2" SRC_URI[sha256sum] = "7360808266f72aed6fda41735242fb9f1b6dd3307cd6e283a646932438eaa929"