[package] elfutils: package libelf and libdw, update to 0.152
[openwrt/svn-archive/archive.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)
23 --- a/lib/Makefile.in
24 +++ b/lib/Makefile.in
25 @@ -191,7 +191,7 @@ zip_LIBS = @zip_LIBS@
26 INCLUDES = -I. -I$(srcdir) -I$(top_srcdir)/lib -I.. \
27 -I$(srcdir)/../libelf
28 AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
29 - $($(*F)_no_Werror),,-Werror) $(if \
30 + $($(*F)_no_Werror),,) $(if \
31 $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
32 $($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
33 $(am__append_1) -fpic
34 --- a/libasm/Makefile.in
35 +++ b/libasm/Makefile.in
36 @@ -240,7 +240,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi
37 -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl \
38 -I$(top_srcdir)/libdw
39 AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
40 - $($(*F)_no_Werror),,-Werror) $(if \
41 + $($(*F)_no_Werror),,) $(if \
42 $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
43 $($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
44 $(am__append_1)
45 --- a/libcpu/Makefile.in
46 +++ b/libcpu/Makefile.in
47 @@ -209,7 +209,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi
48 -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
49 -I$(srcdir)/../libdw -I$(srcdir)/../libasm
50 AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
51 - $($(*F)_no_Werror),,-Werror) $(if \
52 + $($(*F)_no_Werror),,) $(if \
53 $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
54 $($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
55 $(am__append_1) -fpic -fdollars-in-identifiers
56 --- a/libdw/Makefile.in
57 +++ b/libdw/Makefile.in
58 @@ -284,7 +284,7 @@ zip_LIBS = @zip_LIBS@
59 INCLUDES = -I. -I$(srcdir) -I$(top_srcdir)/lib -I.. \
60 -I$(srcdir)/../libelf
61 AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
62 - $($(*F)_no_Werror),,-Werror) $(if \
63 + $($(*F)_no_Werror),,) $(if \
64 $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
65 $($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
66 $(am__append_1) $(am__append_2)
67 --- a/libdwfl/Makefile.in
68 +++ b/libdwfl/Makefile.in
69 @@ -275,7 +275,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi
70 -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
71 -I$(srcdir)/../libdw
72 AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
73 - $($(*F)_no_Werror),,-Werror) $(if \
74 + $($(*F)_no_Werror),,) $(if \
75 $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
76 $($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
77 $(am__append_1)
78 --- a/libebl/Makefile.in
79 +++ b/libebl/Makefile.in
80 @@ -236,7 +236,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi
81 -I$(srcdir)/../libelf -I$(srcdir)/../libdw \
82 -I$(srcdir)/../libasm
83 AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
84 - $($(*F)_no_Werror),,-Werror) $(if \
85 + $($(*F)_no_Werror),,) $(if \
86 $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
87 $($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
88 $(am__append_1) -fpic
89 --- a/tests/Makefile.in
90 +++ b/tests/Makefile.in
91 @@ -463,7 +463,7 @@ top_srcdir = @top_srcdir@
92 zip_LIBS = @zip_LIBS@
93 INCLUDES = -I. -I$(srcdir) -I$(top_srcdir)/lib -I.. $(am__append_2)
94 AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
95 - $($(*F)_no_Werror),,-Werror) $(if \
96 + $($(*F)_no_Werror),,) $(if \
97 $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
98 $($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
99 $(am__append_1)