mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 14:02:22 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
1cf066442b
commit
d00a02d82b
@@ -40,6 +40,10 @@ SRC_URI += "\
|
||||
|
||||
inherit autotools
|
||||
|
||||
# GCC 4.6.0 raises an unused-but-set warning in libasm, for now remove
|
||||
# this warning from Werror
|
||||
CFLAGS_virtclass-native += "-Wno-error=unused-but-set-variable"
|
||||
|
||||
EXTRA_OECONF = "--program-prefix=eu-"
|
||||
|
||||
do_configure_prepend() {
|
||||
|
||||
Reference in New Issue
Block a user