]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "elfutils: fix builds with gcc 4.6"
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Apr 2011 22:43:36 +0000 (23:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Apr 2011 22:43:36 +0000 (23:43 +0100)
This change does not work with previous versions of gcc.

This reverts commit a02eb31697cd977f3587f42bb09b8a9ebcca7a4b.

meta/recipes-devtools/elfutils/elfutils_0.148.bb

index c395be81dc638f6e7e4ff352e507a189829b06e5..b2f700ede7d09397e0569de2160c18f4bf28fa16 100644 (file)
@@ -40,10 +40,6 @@ 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() {