diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-02 11:22:24 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-02 11:22:24 +0000 |
commit | cb8153cccd1c96a1c6adeba4d0bb12c216c4161e (patch) | |
tree | 61d7cb3e4467620ee4775729aa8e418697610388 /meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch | |
parent | 6f6a2035f690ebb011bf060743ac1a4b0c73ba00 (diff) | |
download | poky-cb8153cccd1c96a1c6adeba4d0bb12c216c4161e.tar.gz |
elfutils: Clean up old versions which are no longer required
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch | 132 |
1 files changed, 0 insertions, 132 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch b/meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch deleted file mode 100644 index 680e0441fe..0000000000 --- a/meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch +++ /dev/null | |||
@@ -1,132 +0,0 @@ | |||
1 | Index: elfutils-0.108/configure.ac | ||
2 | =================================================================== | ||
3 | --- elfutils-0.108.orig/configure.ac 2006-04-10 19:18:34.000000000 +0100 | ||
4 | +++ elfutils-0.108/configure.ac 2006-04-10 19:19:33.000000000 +0100 | ||
5 | @@ -49,6 +49,10 @@ | ||
6 | dnl Add all the languages for which translations are available. | ||
7 | ALL_LINGUAS= | ||
8 | |||
9 | +if test X"$CFLAGS" = X; then | ||
10 | + CFLAGS="-Wall -g -O2" | ||
11 | +fi | ||
12 | + | ||
13 | AC_PROG_CC | ||
14 | AC_PROG_RANLIB | ||
15 | AC_PROG_YACC | ||
16 | Index: elfutils-0.108/lib/Makefile.am | ||
17 | =================================================================== | ||
18 | --- elfutils-0.108.orig/lib/Makefile.am 2006-04-10 19:18:34.000000000 +0100 | ||
19 | +++ elfutils-0.108/lib/Makefile.am 2006-04-10 19:19:33.000000000 +0100 | ||
20 | @@ -21,7 +21,7 @@ | ||
21 | else | ||
22 | AM_CFLAGS = | ||
23 | endif | ||
24 | -AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra $($(*F)_CFLAGS) | ||
25 | +AM_CFLAGS += -fpic -Wshadow -Wunused $($(*F)_CFLAGS) | ||
26 | INCLUDES = -I$(srcdir)/../libelf -I.. | ||
27 | |||
28 | noinst_LIBRARIES = libeu.a | ||
29 | Index: elfutils-0.108/libasm/Makefile.am | ||
30 | =================================================================== | ||
31 | --- elfutils-0.108.orig/libasm/Makefile.am 2006-04-10 19:18:34.000000000 +0100 | ||
32 | +++ elfutils-0.108/libasm/Makefile.am 2006-04-10 19:19:33.000000000 +0100 | ||
33 | @@ -18,7 +18,7 @@ | ||
34 | else | ||
35 | AM_CFLAGS = | ||
36 | endif | ||
37 | -AM_CFLAGS += -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 | ||
38 | +AM_CFLAGS += -Wshadow -Wunused -Wformat=2 | ||
39 | INCLUDES = -I. -I$(srcdir) -I.. -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl \ | ||
40 | -I$(top_srcdir)/lib | ||
41 | GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include) | ||
42 | Index: elfutils-0.108/libcpu/Makefile.am | ||
43 | =================================================================== | ||
44 | --- elfutils-0.108.orig/libcpu/Makefile.am 2006-04-10 19:18:34.000000000 +0100 | ||
45 | +++ elfutils-0.108/libcpu/Makefile.am 2006-04-10 19:19:33.000000000 +0100 | ||
46 | @@ -13,7 +13,7 @@ | ||
47 | ## 3001 King Ranch Road, Ukiah, CA 95482. | ||
48 | ## | ||
49 | DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H | ||
50 | -AM_CFLAGS = -Wall -Wshadow -Werror -Wextra -Wformat=2 -Wunused | ||
51 | +AM_CFLAGS = -Wshadow -Wformat=2 -Wunused | ||
52 | INCLUDES = -I$(srcdir) | ||
53 | |||
54 | noinst_LIBRARIES = libcpu_i386.a | ||
55 | Index: elfutils-0.108/libdw/Makefile.am | ||
56 | =================================================================== | ||
57 | --- elfutils-0.108.orig/libdw/Makefile.am 2006-04-10 19:18:34.000000000 +0100 | ||
58 | +++ elfutils-0.108/libdw/Makefile.am 2006-04-10 19:19:33.000000000 +0100 | ||
59 | @@ -18,7 +18,7 @@ | ||
60 | else | ||
61 | AM_CFLAGS = | ||
62 | endif | ||
63 | -AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99 | ||
64 | +AM_CFLAGS += -Wshadow -Wunused -Wformat=2 -std=gnu99 | ||
65 | INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib | ||
66 | VERSION = 1 | ||
67 | |||
68 | Index: elfutils-0.108/libebl/Makefile.am | ||
69 | =================================================================== | ||
70 | --- elfutils-0.108.orig/libebl/Makefile.am 2006-04-10 19:18:34.000000000 +0100 | ||
71 | +++ elfutils-0.108/libebl/Makefile.am 2006-04-10 19:19:33.000000000 +0100 | ||
72 | @@ -18,7 +18,7 @@ | ||
73 | else | ||
74 | AM_CFLAGS = | ||
75 | endif | ||
76 | -AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 \ | ||
77 | +AM_CFLAGS += -fpic -Wshadow -Wunused -Wformat=2 \ | ||
78 | -std=gnu99 | ||
79 | |||
80 | INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/lib -I.. | ||
81 | Index: elfutils-0.108/libelf/Makefile.am | ||
82 | =================================================================== | ||
83 | --- elfutils-0.108.orig/libelf/Makefile.am 2006-04-10 19:18:34.000000000 +0100 | ||
84 | +++ elfutils-0.108/libelf/Makefile.am 2006-04-10 19:19:33.000000000 +0100 | ||
85 | @@ -21,7 +21,7 @@ | ||
86 | else | ||
87 | AM_CFLAGS = | ||
88 | endif | ||
89 | -AM_CFLAGS += -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 \ | ||
90 | +AM_CFLAGS += -Wshadow -Wunused -Wformat=2 -std=gnu99 \ | ||
91 | $($(*F)_CFLAGS) | ||
92 | INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I.. | ||
93 | GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include) | ||
94 | Index: elfutils-0.108/src/Makefile.am | ||
95 | =================================================================== | ||
96 | --- elfutils-0.108.orig/src/Makefile.am 2006-04-10 19:18:34.000000000 +0100 | ||
97 | +++ elfutils-0.108/src/Makefile.am 2006-04-10 19:20:19.000000000 +0100 | ||
98 | @@ -15,14 +15,12 @@ | ||
99 | DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H $(YYDEBUG) \ | ||
100 | -DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\" | ||
101 | if MUDFLAP | ||
102 | -AM_CFLAGS = -Wall -Wshadow -Wunused -Wextra -std=gnu99 -fmudflap \ | ||
103 | +AM_CFLAGS = -Wshadow -Wunused -std=gnu99 -fmudflap \ | ||
104 | $(native_ld_cflags) $(if $($(*F)_no_Wunused),,-Wunused) \ | ||
105 | $(if $($(*F)_no_Wformat),,-Wformat=2) | ||
106 | else | ||
107 | -AM_CFLAGS = -Wall -Wshadow -std=gnu99 $(native_ld_cflags) \ | ||
108 | - $(if $($(*F)_no_Werror),,-Werror) \ | ||
109 | - $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \ | ||
110 | - $(if $($(*F)_no_Wformat),,-Wformat=2) | ||
111 | +AM_CFLAGS = -Wshadow -std=gnu99 $(native_ld_cflags) \ | ||
112 | + $(if $($(*F)_no_Werror),,) | ||
113 | endif | ||
114 | if MUDFLAP | ||
115 | libmudflap = -lmudflap | ||
116 | Index: elfutils-0.108/tests/Makefile.am | ||
117 | =================================================================== | ||
118 | --- elfutils-0.108.orig/tests/Makefile.am 2006-04-10 19:18:34.000000000 +0100 | ||
119 | +++ elfutils-0.108/tests/Makefile.am 2006-04-10 19:19:33.000000000 +0100 | ||
120 | @@ -14,10 +14,10 @@ | ||
121 | ## | ||
122 | DEFS = -DHAVE_CONFIG_H -D_GNU_SOURCE | ||
123 | if MUDFLAP | ||
124 | -AM_CFLAGS = -Wall -Werror -std=gnu99 -fmudflap\ | ||
125 | +AM_CFLAGS = -std=gnu99 -fmudflap\ | ||
126 | $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2) | ||
127 | else | ||
128 | -AM_CFLAGS = -Wall -Werror -std=gnu99 \ | ||
129 | +AM_CFLAGS = -std=gnu99 \ | ||
130 | $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2) | ||
131 | AM_LDFLAGS = -Wl,-rpath,\$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../libebl:\$$ORIGIN/../libelf | ||
132 | endif | ||