qemu: bump version to 2.7.0
[buildroot-gz.git] / package / xinetd / 0001-ar.patch
blob566f2f75ee505acf6c722d20d6c8702e2c51c8f6
1 This patch changes all of the hard-coded invocations of "ar" to $(AR), to
2 support a cross-compilation toolchain.
4 The content of this patch was copied from the OpenWrt project:
5 https://dev.openwrt.org/browser/packages/net/xinetd/patches/001-ar.patch
7 Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
9 --- a/libs/src/misc/Makefile.in
10 +++ b/libs/src/misc/Makefile.in
11 @@ -62,7 +62,7 @@
14 $(LIBNAME): $(OBJECTS)
15 - ar r $@ $?
16 + $(AR) r $@ $?
17 $(RANLIB) $@
19 install: $(LIBNAME)
20 --- a/libs/src/portable/Makefile.in
21 +++ b/libs/src/portable/Makefile.in
22 @@ -57,7 +57,7 @@
25 $(LIBNAME): $(OBJECTS)
26 - ar r $@ $?
27 + $(AR) r $@ $?
28 $(RANLIB) $@
30 install: $(LIBNAME)
31 --- a/libs/src/pset/Makefile.in
32 +++ b/libs/src/pset/Makefile.in
33 @@ -53,7 +53,7 @@
34 mv $(LIBNAME) $(LIBDIR)/optimized
36 $(LIBNAME): $(OBJECTS)
37 - ar r $@ $?
38 + $(AR) r $@ $?
39 $(RANLIB) $@
41 install: $(LIBNAME)
42 --- a/libs/src/sio/Makefile.in
43 +++ b/libs/src/sio/Makefile.in
44 @@ -52,7 +52,7 @@
45 $(INSTALL) $(FMODE) $(LIBNAME) $(LIBDIR)/optimized
47 $(LIBNAME): $(OBJECTS)
48 - ar r $@ $?
49 + $(AR) r $@ $?
50 $(RANLIB) $@
52 install: $(LIBNAME)
53 --- a/libs/src/str/Makefile.in
54 +++ b/libs/src/str/Makefile.in
55 @@ -63,7 +63,7 @@
56 $(INSTALL) $(FMODE) $(LIBNAME) $(LIBDIR)-O
58 $(LIBNAME): $(OBJECTS)
59 - ar r $@ $?
60 + $(AR) r $@ $?
61 $(RANLIB) $@
63 LINT_IGNORE=possible pointer alignment|RCSid unused
64 --- a/libs/src/xlog/Makefile.in
65 +++ b/libs/src/xlog/Makefile.in
66 @@ -58,7 +58,7 @@
67 $(INSTALL) $(FMODE) $(LIBNAME) $(LIBDIR)/optimized
69 $(LIBNAME): $(OBJECTS)
70 - ar r $@ $?
71 + $(AR) r $@ $?
72 $(RANLIB) $@
74 install: $(LIBNAME)