2f3aa1a0c5a6f074b74c5f9552284d42caf5b16d
[packages.git] / libs / elfutils / patches / 003-no_warnings_as_errors.patch
1 --- a/src/Makefile.in
2 +++ b/src/Makefile.in
3 @@ -322,7 +322,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi
4         -I$(srcdir)/../libdw -I$(srcdir)/../libdwfl \
5         -I$(srcdir)/../libasm
6  AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
7 -       $($(*F)_no_Werror),,-Werror) $(if \
8 +       $($(*F)_no_Werror),,) $(if \
9         $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
10         $($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
11         $(am__append_1)
12 --- a/libelf/Makefile.in
13 +++ b/libelf/Makefile.in
14 @@ -280,7 +280,7 @@ top_srcdir = @top_srcdir@
15  zip_LIBS = @zip_LIBS@
16  INCLUDES = -I. -I$(srcdir) -I$(top_srcdir)/lib -I..
17  AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
18 -       $($(*F)_no_Werror),,-Werror) $(if \
19 +       $($(*F)_no_Werror),,) $(if \
20         $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
21         $($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
22         $(am__append_1) $(am__append_2)