summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-03-30 23:21:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-04 14:09:55 +0100
commitd00a02d82b4f3cd3920e53ee70821fd861346c52 (patch)
tree842c636ba8ed6fedbe28299517ea4876b3fe159b /meta
parent1cf066442b96645e6db4ac0c0346a2a923c9c738 (diff)
downloadpoky-d00a02d82b4f3cd3920e53ee70821fd861346c52.tar.gz
elfutils: fix builds with gcc 4.6
gcc 4.6 (as used in Fedora 15) adds some extra warnings which are included with Werror. The new unused-but-set variable warning causes an error in libasm of elfutils. Work around this by removing unused-but-set from Werror. (From OE-Core rev: a02eb31697cd977f3587f42bb09b8a9ebcca7a4b) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.148.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
index b2f700ede7..c395be81dc 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
@@ -40,6 +40,10 @@ SRC_URI += "\
40 40
41inherit autotools 41inherit autotools
42 42
43# GCC 4.6.0 raises an unused-but-set warning in libasm, for now remove
44# this warning from Werror
45CFLAGS_virtclass-native += "-Wno-error=unused-but-set-variable"
46
43EXTRA_OECONF = "--program-prefix=eu-" 47EXTRA_OECONF = "--program-prefix=eu-"
44 48
45do_configure_prepend() { 49do_configure_prepend() {