packages/libs/elfutils/patches/003-no_warnings_as_errors.patch
nico aaa0fef171 [packages] elfutils: update to 0.147, use PKG_INSTALL, add MD5SUM, fix URL, cleanup (closes: #7290)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-06 00:10:56 +00:00

23 lines
859 B
Diff

--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -321,7 +321,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi
-I$(srcdir)/../libdw -I$(srcdir)/../libdwfl \
-I$(srcdir)/../libasm
AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
- $($(*F)_no_Werror),,-Werror) $(if \
+ $($(*F)_no_Werror),,) $(if \
$($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
$($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
$(am__append_1)
--- a/libelf/Makefile.in
+++ b/libelf/Makefile.in
@@ -279,7 +279,7 @@ top_srcdir = @top_srcdir@
zip_LIBS = @zip_LIBS@
INCLUDES = -I. -I$(srcdir) -I$(top_srcdir)/lib -I..
AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
- $($(*F)_no_Werror),,-Werror) $(if \
+ $($(*F)_no_Werror),,) $(if \
$($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
$($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
$(am__append_1) $(am__append_2)