]> code.ossystems Code Review - openembedded-core.git/commitdiff
elfutils: disable -Werror for 0.108 due to 'C99 inline functions are not supported...
authorMarcin Juszkiewicz <hrw@openedhand.com>
Thu, 6 Mar 2008 08:55:32 +0000 (08:55 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Thu, 6 Mar 2008 08:55:32 +0000 (08:55 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3959 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/elfutils/elfutils-0.108/warnings.patch
meta/packages/elfutils/elfutils_0.108.bb

index 9de027ee265fdfe7db24093b820d8a114c7ee130..680e0441fe65879cb5a41b96558a89d4fe3a70d3 100644 (file)
@@ -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
index 67a7596635784cf6c2c95269204d9d6a07a51afc..701279fa5079f0a46c8516f9e0b8e9ada6abefa6 100644 (file)
@@ -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"