summaryrefslogtreecommitdiff
path: root/meta/packages/elfutils
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-03-06 08:55:32 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-03-06 08:55:32 +0000
commite4b9f1043caa3b72c5d47f71db77ab7f928b2906 (patch)
tree976f844d19481a8ae19cb2c959b69e4b7ca03718 /meta/packages/elfutils
parent2f93feee577f2772db60f0c7e763026e0cb2131b (diff)
downloadopenembedded-core-e4b9f1043caa3b72c5d47f71db77ab7f928b2906.tar.gz
openembedded-core-e4b9f1043caa3b72c5d47f71db77ab7f928b2906.tar.bz2
openembedded-core-e4b9f1043caa3b72c5d47f71db77ab7f928b2906.tar.xz
openembedded-core-e4b9f1043caa3b72c5d47f71db77ab7f928b2906.zip
elfutils: disable -Werror for 0.108 due to 'C99 inline functions are not supported; using GNU89' warnings
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3959 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/elfutils')
-rw-r--r--meta/packages/elfutils/elfutils-0.108/warnings.patch4
-rw-r--r--meta/packages/elfutils/elfutils_0.108.bb2
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/elfutils/elfutils-0.108/warnings.patch b/meta/packages/elfutils/elfutils-0.108/warnings.patch
index 9de027ee2..680e0441f 100644
--- a/meta/packages/elfutils/elfutils-0.108/warnings.patch
+++ b/meta/packages/elfutils/elfutils-0.108/warnings.patch
@@ -7,7 +7,7 @@ Index: elfutils-0.108/configure.ac
ALL_LINGUAS=
+if test X"$CFLAGS" = X; then
-+ CFLAGS="-Wall -Werror -g -O2"
++ CFLAGS="-Wall -g -O2"
+fi
+
AC_PROG_CC
@@ -109,7 +109,7 @@ Index: elfutils-0.108/src/Makefile.am
- $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
- $(if $($(*F)_no_Wformat),,-Wformat=2)
+AM_CFLAGS = -Wshadow -std=gnu99 $(native_ld_cflags) \
-+ $(if $($(*F)_no_Werror),,-Werror)
++ $(if $($(*F)_no_Werror),,)
endif
if MUDFLAP
libmudflap = -lmudflap
diff --git a/meta/packages/elfutils/elfutils_0.108.bb b/meta/packages/elfutils/elfutils_0.108.bb
index 67a759663..701279fa5 100644
--- a/meta/packages/elfutils/elfutils_0.108.bb
+++ b/meta/packages/elfutils/elfutils_0.108.bb
@@ -2,7 +2,7 @@ SECTION = "base"
LICENSE = "OSL"
DESCRIPTION = "A collection of utilities and DSOs to handle compiled objects."
DEPENDS = "libtool"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \
file://warnings.patch;patch=1"