diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-03-06 08:55:32 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-03-06 08:55:32 +0000 |
commit | e4b9f1043caa3b72c5d47f71db77ab7f928b2906 (patch) | |
tree | 976f844d19481a8ae19cb2c959b69e4b7ca03718 | |
parent | 2f93feee577f2772db60f0c7e763026e0cb2131b (diff) | |
download | poky-e4b9f1043caa3b72c5d47f71db77ab7f928b2906.tar.gz |
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
-rw-r--r-- | meta/packages/elfutils/elfutils-0.108/warnings.patch | 4 | ||||
-rw-r--r-- | meta/packages/elfutils/elfutils_0.108.bb | 2 |
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 9de027ee26..680e0441fe 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 | |||
7 | ALL_LINGUAS= | 7 | ALL_LINGUAS= |
8 | 8 | ||
9 | +if test X"$CFLAGS" = X; then | 9 | +if test X"$CFLAGS" = X; then |
10 | + CFLAGS="-Wall -Werror -g -O2" | 10 | + CFLAGS="-Wall -g -O2" |
11 | +fi | 11 | +fi |
12 | + | 12 | + |
13 | AC_PROG_CC | 13 | AC_PROG_CC |
@@ -109,7 +109,7 @@ Index: elfutils-0.108/src/Makefile.am | |||
109 | - $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \ | 109 | - $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \ |
110 | - $(if $($(*F)_no_Wformat),,-Wformat=2) | 110 | - $(if $($(*F)_no_Wformat),,-Wformat=2) |
111 | +AM_CFLAGS = -Wshadow -std=gnu99 $(native_ld_cflags) \ | 111 | +AM_CFLAGS = -Wshadow -std=gnu99 $(native_ld_cflags) \ |
112 | + $(if $($(*F)_no_Werror),,-Werror) | 112 | + $(if $($(*F)_no_Werror),,) |
113 | endif | 113 | endif |
114 | if MUDFLAP | 114 | if MUDFLAP |
115 | libmudflap = -lmudflap | 115 | libmudflap = -lmudflap |
diff --git a/meta/packages/elfutils/elfutils_0.108.bb b/meta/packages/elfutils/elfutils_0.108.bb index 67a7596635..701279fa50 100644 --- a/meta/packages/elfutils/elfutils_0.108.bb +++ b/meta/packages/elfutils/elfutils_0.108.bb | |||
@@ -2,7 +2,7 @@ SECTION = "base" | |||
2 | LICENSE = "OSL" | 2 | LICENSE = "OSL" |
3 | DESCRIPTION = "A collection of utilities and DSOs to handle compiled objects." | 3 | DESCRIPTION = "A collection of utilities and DSOs to handle compiled objects." |
4 | DEPENDS = "libtool" | 4 | DEPENDS = "libtool" |
5 | PR = "r1" | 5 | PR = "r2" |
6 | 6 | ||
7 | SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \ | 7 | SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \ |
8 | file://warnings.patch;patch=1" | 8 | file://warnings.patch;patch=1" |