diff options
author | Richard Purdie <richard@openedhand.com> | 2006-12-19 19:24:24 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-12-19 19:24:24 +0000 |
commit | a8b7d094ed0686b0f6737861e0d82224acedfacc (patch) | |
tree | 2f42907c9349b3a79719f15a0d56aa4cdfa1b47a /meta/packages/elfutils/elfutils-0.89/warnings.patch | |
parent | 01303ccecf5e0cc24fdd1a67071d1cfd9ead545e (diff) | |
download | poky-a8b7d094ed0686b0f6737861e0d82224acedfacc.tar.gz |
Add elfutils, prelink
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1049 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/elfutils/elfutils-0.89/warnings.patch')
-rw-r--r-- | meta/packages/elfutils/elfutils-0.89/warnings.patch | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/meta/packages/elfutils/elfutils-0.89/warnings.patch b/meta/packages/elfutils/elfutils-0.89/warnings.patch new file mode 100644 index 0000000000..2a1ea09a61 --- /dev/null +++ b/meta/packages/elfutils/elfutils-0.89/warnings.patch | |||
@@ -0,0 +1,98 @@ | |||
1 | --- elfutils-0.89/configure.ac~warnings.patch 2003-09-26 02:04:04.000000000 -0400 | ||
2 | +++ elfutils-0.89/configure.ac 2004-05-01 00:16:33.000000000 -0400 | ||
3 | @@ -28,6 +28,10 @@ | ||
4 | |||
5 | ALL_LINGUAS= | ||
6 | |||
7 | +if test X"$CFLAGS" = X; then | ||
8 | + CFLAGS="-Wall -Werror -g -O2" | ||
9 | +fi | ||
10 | + | ||
11 | AC_PROG_CC | ||
12 | AC_PROG_CPP | ||
13 | AC_PROG_GCC_TRADITIONAL | ||
14 | --- elfutils-0.89/./lib/Makefile.am~warnings.patch 2003-09-22 18:57:58.000000000 -0400 | ||
15 | +++ elfutils-0.89/./lib/Makefile.am 2004-05-01 00:12:43.000000000 -0400 | ||
16 | @@ -14,7 +14,7 @@ | ||
17 | ## 3001 King Ranch Road, Ukiah, CA 95482. | ||
18 | ## | ||
19 | DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H | ||
20 | -AM_CFLAGS = -Wall -Werror -fpic | ||
21 | +AM_CFLAGS = -fpic | ||
22 | INCLUDES = -I$(srcdir)/../libelf -I.. | ||
23 | |||
24 | noinst_LIBRARIES = libeu.a | ||
25 | --- elfutils-0.89/./libelf/Makefile.am~warnings.patch 2003-08-12 02:45:24.000000000 -0400 | ||
26 | +++ elfutils-0.89/./libelf/Makefile.am 2004-05-01 00:12:43.000000000 -0400 | ||
27 | @@ -14,7 +14,6 @@ | ||
28 | ## 3001 King Ranch Road, Ukiah, CA 95482. | ||
29 | ## | ||
30 | DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H | ||
31 | -AM_CFLAGS = -Wall -Werror | ||
32 | INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I.. | ||
33 | GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include) | ||
34 | VERSION = 1 | ||
35 | --- elfutils-0.89/./libebl/Makefile.am~warnings.patch 2003-09-22 18:53:17.000000000 -0400 | ||
36 | +++ elfutils-0.89/./libebl/Makefile.am 2004-05-01 00:12:43.000000000 -0400 | ||
37 | @@ -14,7 +14,7 @@ | ||
38 | ## 3001 King Ranch Road, Ukiah, CA 95482. | ||
39 | ## | ||
40 | DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall | ||
41 | -AM_CFLAGS = -Wall -Werror -DOBJDIR=\"$(shell pwd)\" -fpic | ||
42 | +AM_CFLAGS = -DOBJDIR=\"$(shell pwd)\" -fpic | ||
43 | INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/lib -I.. | ||
44 | VERSION = 1 | ||
45 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
46 | --- elfutils-0.89/./libdwarf/Makefile.am~warnings.patch 2003-08-12 02:46:05.000000000 -0400 | ||
47 | +++ elfutils-0.89/./libdwarf/Makefile.am 2004-05-01 00:12:43.000000000 -0400 | ||
48 | @@ -14,7 +14,6 @@ | ||
49 | ## 3001 King Ranch Road, Ukiah, CA 95482. | ||
50 | ## | ||
51 | DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DDWARF_DEBUG | ||
52 | -AM_CFLAGS = -Wall -Werror | ||
53 | INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib | ||
54 | VERSION = 1 | ||
55 | |||
56 | --- elfutils-0.89/./libdw/Makefile.am~warnings.patch 2003-08-12 02:46:18.000000000 -0400 | ||
57 | +++ elfutils-0.89/./libdw/Makefile.am 2004-05-01 00:12:43.000000000 -0400 | ||
58 | @@ -17,7 +17,6 @@ | ||
59 | ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
60 | ## | ||
61 | DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H | ||
62 | -AM_CFLAGS = -Wall -Werror -Wshadow | ||
63 | INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib | ||
64 | VERSION = 1 | ||
65 | |||
66 | --- elfutils-0.89/./libasm/Makefile.am~warnings.patch 2003-08-13 05:21:25.000000000 -0400 | ||
67 | +++ elfutils-0.89/./libasm/Makefile.am 2004-05-01 00:12:43.000000000 -0400 | ||
68 | @@ -14,7 +14,6 @@ | ||
69 | ## 3001 King Ranch Road, Ukiah, CA 95482. | ||
70 | ## | ||
71 | DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H | ||
72 | -AM_CFLAGS = -Wall -Werror | ||
73 | INCLUDES = -I. -I$(srcdir) -I.. -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl \ | ||
74 | -I$(top_srcdir)/lib | ||
75 | GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include) | ||
76 | --- elfutils-0.89/./src/Makefile.am~warnings.patch 2003-09-22 18:57:09.000000000 -0400 | ||
77 | +++ elfutils-0.89/./src/Makefile.am 2004-05-01 00:12:43.000000000 -0400 | ||
78 | @@ -14,8 +14,8 @@ | ||
79 | ## 3001 King Ranch Road, Ukiah, CA 95482. | ||
80 | ## | ||
81 | DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -Wshadow $(YYDEBUG) \ | ||
82 | - $(if $($(*F)_no_Werror),,-Werror) $(native_ld_cflags) | ||
83 | -AM_CFLAGS = -Wall -DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\" | ||
84 | + $(if $(filter -Werror,$(CFLAGS)),$(if $($(*F)_no_Werror),,-Werror)) $(native_ld_cflags) | ||
85 | +AM_CFLAGS = -DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\" | ||
86 | INCLUDES = -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl -I$(srcdir)/../lib -I$(srcdir)/../libdwarf -I.. | ||
87 | |||
88 | YACC = @YACC@ -d | ||
89 | --- elfutils-0.89/./tests/Makefile.am~warnings.patch 2003-08-13 05:19:04.000000000 -0400 | ||
90 | +++ elfutils-0.89/./tests/Makefile.am 2004-05-01 00:12:43.000000000 -0400 | ||
91 | @@ -14,7 +14,6 @@ | ||
92 | ## 3001 King Ranch Road, Ukiah, CA 95482. | ||
93 | ## | ||
94 | DEFS = -DHAVE_CONFIG_H -D_GNU_SOURCE | ||
95 | -AM_CFLAGS = -Wall -Werror | ||
96 | AM_LDFLAGS = -Wl,-rpath,\$$ORIGIN/../libasm:\$$ORIGIN/../libdwarf:\$$ORIGIN/../libdw:\$$ORIGIN/../libebl:\$$ORIGIN/../libelf | ||
97 | INCLUDES = -I$(top_srcdir)/libasm -I$(top_srcdir)/libdwarf \ | ||
98 | -I$(top_srcdir)/libdw \ | ||