summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2014-12-12 14:26:25 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-16 23:08:22 +0000
commitbbd5fe680e2ff75bb3ed405fbc42ee003304db75 (patch)
tree75e56d794f0a8178f320cb71e5183bcaf57ef16e /meta
parent85326e2baa5607203335d70ecf94beb81bddd86c (diff)
downloadpoky-bbd5fe680e2ff75bb3ed405fbc42ee003304db75.tar.gz
libaio: Upgrade to 0.3.110
Remove old patches and rebase existing ones Add libc for x86 for stack-protector bounce function (__stack_chk_fail_local) (From OE-Core rev: 8017bfdaca1cdaa8bfd9178063967ec89a58be06) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/libaio/libaio/00_arches.patch208
-rw-r--r--meta/recipes-extended/libaio/libaio/libaio-aarch64.patch28
-rw-r--r--meta/recipes-extended/libaio/libaio/libaio_fix_for_mips64.patch68
-rw-r--r--meta/recipes-extended/libaio/libaio/toolchain.patch27
-rw-r--r--meta/recipes-extended/libaio/libaio_0.3.110.bb (renamed from meta/recipes-extended/libaio/libaio_0.3.109.bb)11
5 files changed, 64 insertions, 278 deletions
diff --git a/meta/recipes-extended/libaio/libaio/00_arches.patch b/meta/recipes-extended/libaio/libaio/00_arches.patch
index 91f4588cc5..9d6447d98a 100644
--- a/meta/recipes-extended/libaio/libaio/00_arches.patch
+++ b/meta/recipes-extended/libaio/libaio/00_arches.patch
@@ -2,10 +2,10 @@ Upstream-Status: Inappropriate [embedded specific]
2 2
3from openembedded, added by Qing He <qing.he@intel.com> 3from openembedded, added by Qing He <qing.he@intel.com>
4 4
5Index: libaio-0.3.109/src/syscall-m68k.h 5Index: libaio-0.3.110/src/syscall-m68k.h
6=================================================================== 6===================================================================
7--- /dev/null 7--- /dev/null
8+++ libaio-0.3.109/src/syscall-m68k.h 8+++ libaio-0.3.110/src/syscall-m68k.h
9@@ -0,0 +1,78 @@ 9@@ -0,0 +1,78 @@
10+#define __NR_io_setup 241 10+#define __NR_io_setup 241
11+#define __NR_io_destroy 242 11+#define __NR_io_destroy 242
@@ -85,164 +85,27 @@ Index: libaio-0.3.109/src/syscall-m68k.h
85+return (type) __res; \ 85+return (type) __res; \
86+} 86+}
87+ 87+
88Index: libaio-0.3.109/src/syscall-sparc.h 88Index: libaio-0.3.110/src/syscall.h
89=================================================================== 89===================================================================
90--- /dev/null 90--- libaio-0.3.110.orig/src/syscall.h
91+++ libaio-0.3.109/src/syscall-sparc.h 91+++ libaio-0.3.110/src/syscall.h
92@@ -0,0 +1,130 @@ 92@@ -28,6 +28,12 @@
93+/* $Id: unistd.h,v 1.74 2002/02/08 03:57:18 davem Exp $ */ 93 #include "syscall-sparc.h"
94+ 94 #elif defined(__aarch64__)
95+/* 95 #include "syscall-arm64.h"
96+ * System calls under the Sparc.
97+ *
98+ * Don't be scared by the ugly clobbers, it is the only way I can
99+ * think of right now to force the arguments into fixed registers
100+ * before the trap into the system call with gcc 'asm' statements.
101+ *
102+ * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
103+ *
104+ * SunOS compatibility based upon preliminary work which is:
105+ *
106+ * Copyright (C) 1995 Adrian M. Rodriguez (adrian@remus.rutgers.edu)
107+ */
108+
109+
110+#define __NR_io_setup 268
111+#define __NR_io_destroy 269
112+#define __NR_io_submit 270
113+#define __NR_io_cancel 271
114+#define __NR_io_getevents 272
115+
116+
117+#define io_syscall1(type,fname,sname,type1,arg1) \
118+type fname(type1 arg1) \
119+{ \
120+long __res; \
121+register long __g1 __asm__ ("g1") = __NR_##sname; \
122+register long __o0 __asm__ ("o0") = (long)(arg1); \
123+__asm__ __volatile__ ("t 0x10\n\t" \
124+ "bcc 1f\n\t" \
125+ "mov %%o0, %0\n\t" \
126+ "sub %%g0, %%o0, %0\n\t" \
127+ "1:\n\t" \
128+ : "=r" (__res), "=&r" (__o0) \
129+ : "1" (__o0), "r" (__g1) \
130+ : "cc"); \
131+if (__res < -255 || __res >= 0) \
132+ return (type) __res; \
133+return -1; \
134+}
135+
136+#define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \
137+type fname(type1 arg1,type2 arg2) \
138+{ \
139+long __res; \
140+register long __g1 __asm__ ("g1") = __NR_##sname; \
141+register long __o0 __asm__ ("o0") = (long)(arg1); \
142+register long __o1 __asm__ ("o1") = (long)(arg2); \
143+__asm__ __volatile__ ("t 0x10\n\t" \
144+ "bcc 1f\n\t" \
145+ "mov %%o0, %0\n\t" \
146+ "sub %%g0, %%o0, %0\n\t" \
147+ "1:\n\t" \
148+ : "=r" (__res), "=&r" (__o0) \
149+ : "1" (__o0), "r" (__o1), "r" (__g1) \
150+ : "cc"); \
151+if (__res < -255 || __res >= 0) \
152+ return (type) __res; \
153+return -1; \
154+}
155+
156+#define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \
157+type fname(type1 arg1,type2 arg2,type3 arg3) \
158+{ \
159+long __res; \
160+register long __g1 __asm__ ("g1") = __NR_##sname; \
161+register long __o0 __asm__ ("o0") = (long)(arg1); \
162+register long __o1 __asm__ ("o1") = (long)(arg2); \
163+register long __o2 __asm__ ("o2") = (long)(arg3); \
164+__asm__ __volatile__ ("t 0x10\n\t" \
165+ "bcc 1f\n\t" \
166+ "mov %%o0, %0\n\t" \
167+ "sub %%g0, %%o0, %0\n\t" \
168+ "1:\n\t" \
169+ : "=r" (__res), "=&r" (__o0) \
170+ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__g1) \
171+ : "cc"); \
172+if (__res < -255 || __res>=0) \
173+ return (type) __res; \
174+return -1; \
175+}
176+
177+#define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
178+type fname(type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
179+{ \
180+long __res; \
181+register long __g1 __asm__ ("g1") = __NR_##sname; \
182+register long __o0 __asm__ ("o0") = (long)(arg1); \
183+register long __o1 __asm__ ("o1") = (long)(arg2); \
184+register long __o2 __asm__ ("o2") = (long)(arg3); \
185+register long __o3 __asm__ ("o3") = (long)(arg4); \
186+__asm__ __volatile__ ("t 0x10\n\t" \
187+ "bcc 1f\n\t" \
188+ "mov %%o0, %0\n\t" \
189+ "sub %%g0, %%o0, %0\n\t" \
190+ "1:\n\t" \
191+ : "=r" (__res), "=&r" (__o0) \
192+ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__o3), "r" (__g1) \
193+ : "cc"); \
194+if (__res < -255 || __res>=0) \
195+ return (type) __res; \
196+return -1; \
197+}
198+
199+#define io_syscall5(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
200+ type5,arg5) \
201+type fname(type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
202+{ \
203+long __res; \
204+register long __g1 __asm__ ("g1") = __NR_##sname; \
205+register long __o0 __asm__ ("o0") = (long)(arg1); \
206+register long __o1 __asm__ ("o1") = (long)(arg2); \
207+register long __o2 __asm__ ("o2") = (long)(arg3); \
208+register long __o3 __asm__ ("o3") = (long)(arg4); \
209+register long __o4 __asm__ ("o4") = (long)(arg5); \
210+__asm__ __volatile__ ("t 0x10\n\t" \
211+ "bcc 1f\n\t" \
212+ "mov %%o0, %0\n\t" \
213+ "sub %%g0, %%o0, %0\n\t" \
214+ "1:\n\t" \
215+ : "=r" (__res), "=&r" (__o0) \
216+ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__o3), "r" (__o4), "r" (__g1) \
217+ : "cc"); \
218+if (__res < -255 || __res>=0) \
219+ return (type) __res; \
220+return -1; \
221+}
222+
223Index: libaio-0.3.109/src/syscall.h
224===================================================================
225--- libaio-0.3.109.orig/src/syscall.h
226+++ libaio-0.3.109/src/syscall.h
227@@ -24,6 +24,14 @@
228 #include "syscall-alpha.h"
229 #elif defined(__arm__)
230 #include "syscall-arm.h"
231+#elif defined(__m68k__) 96+#elif defined(__m68k__)
232+#include "syscall-m68k.h" 97+#include "syscall-m68k.h"
233+#elif defined(__sparc__)
234+#include "syscall-sparc.h"
235+#elif defined(__hppa__) 98+#elif defined(__hppa__)
236+#include "syscall-parisc.h" 99+#include "syscall-parisc.h"
237+#elif defined(__mips__) 100+#elif defined(__mips__)
238+#include "syscall-mips.h" 101+#include "syscall-mips.h"
239 #else 102 #else
240 #error "add syscall-arch.h" 103 #warning "using generic syscall method"
241 #endif 104 #include "syscall-generic.h"
242Index: libaio-0.3.109/src/syscall-mips.h 105Index: libaio-0.3.110/src/syscall-mips.h
243=================================================================== 106===================================================================
244--- /dev/null 107--- /dev/null
245+++ libaio-0.3.109/src/syscall-mips.h 108+++ libaio-0.3.110/src/syscall-mips.h
246@@ -0,0 +1,223 @@ 109@@ -0,0 +1,223 @@
247+/* 110+/*
248+ * This file is subject to the terms and conditions of the GNU General Public 111+ * This file is subject to the terms and conditions of the GNU General Public
@@ -467,45 +330,10 @@ Index: libaio-0.3.109/src/syscall-mips.h
467+ 330+
468+#endif /* (_MIPS_SIM == _MIPS_SIM_NABI32) || (_MIPS_SIM == _MIPS_SIM_ABI64) */ 331+#endif /* (_MIPS_SIM == _MIPS_SIM_NABI32) || (_MIPS_SIM == _MIPS_SIM_ABI64) */
469+ 332+
470Index: libaio-0.3.109/src/libaio.h 333Index: libaio-0.3.110/src/syscall-parisc.h
471===================================================================
472--- libaio-0.3.109.orig/src/libaio.h
473+++ libaio-0.3.109/src/libaio.h
474@@ -83,6 +83,30 @@ typedef enum io_iocb_cmd {
475 #define PADDEDptr(x, y) x; unsigned y
476 #define PADDEDul(x, y) unsigned long x; unsigned y
477 # endif
478+#elif defined(__m68k__) /* big endian, 32 bits */
479+#define PADDED(x, y) unsigned y; x
480+#define PADDEDptr(x, y) unsigned y; x
481+#define PADDEDul(x, y) unsigned y; unsigned long x
482+#elif defined(__sparc__) /* big endian, 32 bits */
483+#define PADDED(x, y) unsigned y; x
484+#define PADDEDptr(x, y) unsigned y; x
485+#define PADDEDul(x, y) unsigned y; unsigned long x
486+#elif defined(__hppa__) /* big endian, 32 bits */
487+#define PADDED(x, y) unsigned y; x
488+#define PADDEDptr(x, y) unsigned y; x
489+#define PADDEDul(x, y) unsigned y; unsigned long x
490+#elif defined(__mips__)
491+# if defined (__MIPSEB__) /* big endian, 32 bits */
492+#define PADDED(x, y) unsigned y; x
493+#define PADDEDptr(x, y) unsigned y; x
494+#define PADDEDul(x, y) unsigned y; unsigned long x
495+# elif defined(__MIPSEL__) /* little endian, 32 bits */
496+#define PADDED(x, y) x; unsigned y
497+#define PADDEDptr(x, y) x; unsigned y
498+#define PADDEDul(x, y) unsigned long x; unsigned y
499+# else
500+# error "neither mipseb nor mipsel?"
501+# endif
502 #else
503 #error endian?
504 #endif
505Index: libaio-0.3.109/src/syscall-parisc.h
506=================================================================== 334===================================================================
507--- /dev/null 335--- /dev/null
508+++ libaio-0.3.109/src/syscall-parisc.h 336+++ libaio-0.3.110/src/syscall-parisc.h
509@@ -0,0 +1,146 @@ 337@@ -0,0 +1,146 @@
510+/* 338+/*
511+ * Linux system call numbers. 339+ * Linux system call numbers.
@@ -653,10 +481,10 @@ Index: libaio-0.3.109/src/syscall-parisc.h
653+ return K_INLINE_SYSCALL(sname, 5, arg1, arg2, arg3, arg4, arg5); \ 481+ return K_INLINE_SYSCALL(sname, 5, arg1, arg2, arg3, arg4, arg5); \
654+} 482+}
655+ 483+
656Index: libaio-0.3.109/src/syscall-arm.h 484Index: libaio-0.3.110/src/syscall-arm.h
657=================================================================== 485===================================================================
658--- libaio-0.3.109.orig/src/syscall-arm.h 486--- libaio-0.3.110.orig/src/syscall-arm.h
659+++ libaio-0.3.109/src/syscall-arm.h 487+++ libaio-0.3.110/src/syscall-arm.h
660@@ -114,3 +114,119 @@ type fname(type1 arg1, type2 arg2, type3 488@@ -114,3 +114,119 @@ type fname(type1 arg1, type2 arg2, type3
661 return (type) __res_r0; \ 489 return (type) __res_r0; \
662 } 490 }
diff --git a/meta/recipes-extended/libaio/libaio/libaio-aarch64.patch b/meta/recipes-extended/libaio/libaio/libaio-aarch64.patch
deleted file mode 100644
index e3d10585de..0000000000
--- a/meta/recipes-extended/libaio/libaio/libaio-aarch64.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1Upstream-Status: Submitted
2
3Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
4
5---
6 harness/cases/16.t | 2 ++
7 src/libaio.h | 10 ++++++++++
8 2 files changed, 12 insertions(+)
9
10--- a/src/libaio.h
11+++ b/src/libaio.h
12@@ -107,6 +107,16 @@
13 # else
14 # error "neither mipseb nor mipsel?"
15 # endif
16+#elif defined(__aarch64__)
17+# if defined (__AARCH64EB__) /* big endian, 64 bits */
18+#define PADDED(x, y) unsigned y; x
19+#define PADDEDptr(x,y) x
20+#define PADDEDul(x, y) unsigned long x
21+# elif defined(__AARCH64EL__) /* little endian, 64 bits */
22+#define PADDED(x, y) x, y
23+#define PADDEDptr(x, y) x
24+#define PADDEDul(x, y) unsigned long x
25+# endif
26 #else
27 #error endian?
28 #endif
diff --git a/meta/recipes-extended/libaio/libaio/libaio_fix_for_mips64.patch b/meta/recipes-extended/libaio/libaio/libaio_fix_for_mips64.patch
index 0ef9f147be..9d4bb46aaf 100644
--- a/meta/recipes-extended/libaio/libaio/libaio_fix_for_mips64.patch
+++ b/meta/recipes-extended/libaio/libaio/libaio_fix_for_mips64.patch
@@ -14,29 +14,45 @@ Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
14 src/libaio.h | 12 ++++++++++++ 14 src/libaio.h | 12 ++++++++++++
15 1 file changed, 12 insertions(+) 15 1 file changed, 12 insertions(+)
16 16
17diff --git a/src/libaio.h b/src/libaio.h 17Index: libaio-0.3.110/src/libaio.h
18index ff99188..64ea8f3 100644 18===================================================================
19--- a/src/libaio.h 19--- libaio-0.3.110.orig/src/libaio.h
20+++ b/src/libaio.h 20+++ libaio-0.3.110/src/libaio.h
21@@ -95,6 +95,18 @@ typedef enum io_iocb_cmd { 21@@ -51,7 +51,7 @@ typedef enum io_iocb_cmd {
22 #define PADDED(x, y) unsigned y; x 22
23 #define PADDEDptr(x, y) unsigned y; x 23 /* little endian, 32 bits */
24 #define PADDEDul(x, y) unsigned y; unsigned long x 24 #if defined(__i386__) || (defined(__arm__) && !defined(__ARMEB__)) || \
25+#elif defined(__mips64) 25- defined(__sh__) || defined(__bfin__) || defined(__MIPSEL__) || \
26+# if defined (__MIPSEB__) /* big endian, 64 bits */ 26+ defined(__sh__) || defined(__bfin__) || (defined(__mips__) && defined(__MIPSEL__)) || \
27+#define PADDED(x, y) unsigned y; x 27 defined(__cris__)
28+#define PADDEDptr(x,y) x 28 #define PADDED(x, y) x; unsigned y
29+#define PADDEDul(x, y) unsigned long x 29 #define PADDEDptr(x, y) x; unsigned y
30+# elif defined(__MIPSEL__) /* little endian, 64 bits */ 30@@ -59,7 +59,8 @@ typedef enum io_iocb_cmd {
31+#define PADDED(x, y) x, y 31
32+#define PADDEDptr(x, y) x 32 /* little endian, 64 bits */
33+#define PADDEDul(x, y) unsigned long x 33 #elif defined(__ia64__) || defined(__x86_64__) || defined(__alpha__) || \
34+# else 34- (defined(__aarch64__) && defined(__AARCH64EL__))
35+# error "mips64: neither mipseb nor mipsel?" 35+ (defined(__aarch64__) && defined(__AARCH64EL__)) || \
36+# endif 36+ (defined(__mips64) && defined(__MIPSEL__))
37 #elif defined(__mips__) 37 #define PADDED(x, y) x, y
38 # if defined (__MIPSEB__) /* big endian, 32 bits */ 38 #define PADDEDptr(x, y) x
39 #define PADDED(x, y) unsigned y; x 39 #define PADDEDul(x, y) unsigned long x
40-- 40@@ -67,7 +68,8 @@ typedef enum io_iocb_cmd {
411.8.2.1 41 /* big endian, 64 bits */
42 42 #elif defined(__powerpc64__) || defined(__s390x__) || \
43 (defined(__sparc__) && defined(__arch64__)) || \
44- (defined(__aarch64__) && defined(__AARCH64EB__))
45+ (defined(__aarch64__) && defined(__AARCH64EB__)) || \
46+ (defined(__mips64) && defined(__MIPSEL__))
47 #define PADDED(x, y) unsigned y; x
48 #define PADDEDptr(x,y) x
49 #define PADDEDul(x, y) unsigned long x
50@@ -75,7 +77,7 @@ typedef enum io_iocb_cmd {
51 /* big endian, 32 bits */
52 #elif defined(__PPC__) || defined(__s390__) || \
53 (defined(__arm__) && defined(__ARMEB__)) || \
54- defined(__sparc__) || defined(__MIPSEB__) || defined(__m68k__) || \
55+ defined(__sparc__) || (defined(__mips__) && defined(__MIPSEB__)) || defined(__m68k__) || \
56 defined(__hppa__) || defined(__frv__) || defined(__avr32__)
57 #define PADDED(x, y) unsigned y; x
58 #define PADDEDptr(x, y) unsigned y; x
diff --git a/meta/recipes-extended/libaio/libaio/toolchain.patch b/meta/recipes-extended/libaio/libaio/toolchain.patch
deleted file mode 100644
index 4d88ec167b..0000000000
--- a/meta/recipes-extended/libaio/libaio/toolchain.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1Upstream-Status: Inappropriate [embedded specific]
2
38/27/2010 - created by Qing He <qing.he@intel.com>
4
5diff --git a/src/Makefile b/src/Makefile
6index 8d134cc..df8e5b6 100644
7--- a/src/Makefile
8+++ b/src/Makefile
9@@ -2,7 +2,6 @@ prefix=/usr
10 includedir=$(prefix)/include
11 libdir=$(prefix)/lib
12
13-ARCH := $(shell uname -m | sed -e s/i.86/i386/)
14 CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC
15 SO_CFLAGS=-shared $(CFLAGS)
16 L_CFLAGS=$(CFLAGS)
17@@ -44,8 +43,8 @@ $(libaio_objs) $(libaio_sobjs): libaio.h vsys_def.h
18
19 libaio.a: $(libaio_objs)
20 rm -f libaio.a
21- ar r libaio.a $^
22- ranlib libaio.a
23+ $(AR) r libaio.a $^
24+ $(RANLIB) libaio.a
25
26 $(libname): $(libaio_sobjs) libaio.map
27 $(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname=$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS)
diff --git a/meta/recipes-extended/libaio/libaio_0.3.109.bb b/meta/recipes-extended/libaio/libaio_0.3.110.bb
index 0483c711b9..9e364149d2 100644
--- a/meta/recipes-extended/libaio/libaio_0.3.109.bb
+++ b/meta/recipes-extended/libaio/libaio_0.3.110.bb
@@ -5,23 +5,20 @@ HOMEPAGE = "http://lse.sourceforge.net/io/aio.html"
5LICENSE = "LGPLv2.1+" 5LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499" 6LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499"
7 7
8PR = "r2"
9
10SRC_URI = "${DEBIAN_MIRROR}/main/liba/libaio/libaio_${PV}.orig.tar.gz \ 8SRC_URI = "${DEBIAN_MIRROR}/main/liba/libaio/libaio_${PV}.orig.tar.gz \
11 file://00_arches.patch \ 9 file://00_arches.patch \
12 file://toolchain.patch \
13 file://destdir.patch \ 10 file://destdir.patch \
14 file://libaio_fix_for_x32.patch \ 11 file://libaio_fix_for_x32.patch \
15 file://libaio-generic.patch \
16 file://libaio-aarch64.patch \
17 file://libaio_fix_for_mips_syscalls.patch \ 12 file://libaio_fix_for_mips_syscalls.patch \
18 file://libaio_fix_for_mips64.patch \ 13 file://libaio_fix_for_mips64.patch \
19" 14"
20 15
21SRC_URI[md5sum] = "435a5b16ca6198eaf01155263d855756" 16SRC_URI[md5sum] = "2a35602e43778383e2f4907a4ca39ab8"
22SRC_URI[sha256sum] = "bf4a457253cbaab215aea75cb6e18dc8d95bbd507e9920661ff9bdd288c8778d" 17SRC_URI[sha256sum] = "e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e"
23 18
24EXTRA_OEMAKE =+ "prefix=${prefix} includedir=${includedir} libdir=${libdir}" 19EXTRA_OEMAKE =+ "prefix=${prefix} includedir=${includedir} libdir=${libdir}"
20# Need libc for stack-protector's __stack_chk_fail_local() bounce function
21LDFLAGS_append_x86 = " -lc"
25 22
26do_configure () { 23do_configure () {
27 sed -i 's#LINK_FLAGS=.*#LINK_FLAGS=$(LDFLAGS)#' src/Makefile 24 sed -i 's#LINK_FLAGS=.*#LINK_FLAGS=$(LDFLAGS)#' src/Makefile