mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
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
This commit is contained in:
@@ -7,7 +7,7 @@ Index: elfutils-0.108/configure.ac
|
|||||||
ALL_LINGUAS=
|
ALL_LINGUAS=
|
||||||
|
|
||||||
+if test X"$CFLAGS" = X; then
|
+if test X"$CFLAGS" = X; then
|
||||||
+ CFLAGS="-Wall -Werror -g -O2"
|
+ CFLAGS="-Wall -g -O2"
|
||||||
+fi
|
+fi
|
||||||
+
|
+
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
@@ -109,7 +109,7 @@ Index: elfutils-0.108/src/Makefile.am
|
|||||||
- $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
|
- $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
|
||||||
- $(if $($(*F)_no_Wformat),,-Wformat=2)
|
- $(if $($(*F)_no_Wformat),,-Wformat=2)
|
||||||
+AM_CFLAGS = -Wshadow -std=gnu99 $(native_ld_cflags) \
|
+AM_CFLAGS = -Wshadow -std=gnu99 $(native_ld_cflags) \
|
||||||
+ $(if $($(*F)_no_Werror),,-Werror)
|
+ $(if $($(*F)_no_Werror),,)
|
||||||
endif
|
endif
|
||||||
if MUDFLAP
|
if MUDFLAP
|
||||||
libmudflap = -lmudflap
|
libmudflap = -lmudflap
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ SECTION = "base"
|
|||||||
LICENSE = "OSL"
|
LICENSE = "OSL"
|
||||||
DESCRIPTION = "A collection of utilities and DSOs to handle compiled objects."
|
DESCRIPTION = "A collection of utilities and DSOs to handle compiled objects."
|
||||||
DEPENDS = "libtool"
|
DEPENDS = "libtool"
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
|
|
||||||
SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \
|
SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \
|
||||||
file://warnings.patch;patch=1"
|
file://warnings.patch;patch=1"
|
||||||
|
|||||||
Reference in New Issue
Block a user