From e5e5ff3e7153f313106302206a75849398380cbd Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Wed, 6 Apr 2011 11:51:25 +0100 Subject: elfutils: remove unused variables to fix compilation with GCC 4.6 Unused variables trigger a warning in GCC 4.6 which are caught by -Werror as used in the elfutils makefiles and therefore the build fails. This patch adds some consolidated fixes from upstream to remove the unused variables, they will no longer be required as of elfutils 0.152 (From OE-Core rev: 9207c918a1b2f9ddf69dd9508d6c011eba435486) Signed-off-by: Joshua Lock Signed-off-by: Richard Purdie --- meta/recipes-devtools/elfutils/elfutils_0.148.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/elfutils/elfutils_0.148.bb') diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb b/meta/recipes-devtools/elfutils/elfutils_0.148.bb index b2f700ede7..a55b98d1e7 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3\ file://EXCEPTION;md5=570adcb0c1218ab57f2249c67d0ce417" DEPENDS = "libtool bzip2 zlib" -PR = "r1" +PR = "r2" SRC_URI = "https://fedorahosted.org/releases/e/l/elfutils/elfutils-${PV}.tar.bz2" @@ -27,6 +27,7 @@ SRC_URI += "\ file://testsuite-ignore-elflint.diff \ file://elf_additions.diff \ file://elfutils-fsize.patch \ + file://remove-unused.patch \ " # The buildsystem wants to generate 2 .h files from source using a binary it just built, -- cgit v1.2.3-54-g00ecf