binutils 2.17.50: fixed nios2 build
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 5 Mar 2011 17:43:25 +0000 (18:43 +0100)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 5 Mar 2011 17:43:25 +0000 (18:43 +0100)
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 <fransmeulenbroeks@gmail.com>
recipes/binutils/binutils_2.17.50.0.12.bb

index 55d7614..ea47eb4 100644 (file)
@@ -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"