aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2011-03-05 18:43:25 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2011-03-05 18:43:25 +0100
commitf14b336a25c472d07a1a6a355de3a2fbc9d5fba8 (patch)
treee329093ddb49e4f0b3bfd24e9b6edc3baba1cda0
parentaa379d1ca93df48d6a8afd7b2aa170800ee58989 (diff)
downloadopenembedded-f14b336a25c472d07a1a6a355de3a2fbc9d5fba8.tar.gz
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 <fransmeulenbroeks@gmail.com>
-rw-r--r--recipes/binutils/binutils_2.17.50.0.12.bb5
1 files changed, 4 insertions, 1 deletions
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"