Dash:
[t2.git] / package / network / fnord / cross.patch
bloba5424d69b2638cbf3559f6d24f679aa51e2f8449
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../fnord/cross.patch
5 # Copyright (C) 2007 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- fnord-1.10/Makefile.vanilla 2007-06-19 15:45:13.899610396 +0200
18 +++ fnord-1.10/Makefile 2007-06-19 15:46:14.663073109 +0200
19 @@ -1,5 +1,7 @@
20 CC=gcc
21 CXX=g++
22 +STRIP=strip
23 +AR=ar
25 #LIBOWFAT=../libowfat/
26 DIET=diet -Os
27 @@ -11,24 +13,24 @@
29 fnord: httpd
30 cp -p $^ $@
31 - -strip -R .note -R .comment $@
32 + -$(STRIP) -R .note -R .comment $@
34 httpd: httpd.o libowfat.a
35 $(DIET) $(CC) -o $@ $^ $(CFLAGS)
37 fnord-cgi: httpd-cgi.o libowfat.a
38 $(DIET) $(CC) -o $@ $^ $(CFLAGS)
39 - -strip -R .note -R .comment $@
40 + -$(STRIP) -R .note -R .comment $@
42 fnord-idx: httpd-idx.o libowfat.a
43 $(DIET) $(CC) -o $@ $^ $(CFLAGS)
44 - -strip -R .note -R .comment $@
45 + -$(STRIP) -R .note -R .comment $@
47 libowfat.a: httpd.o buffer_1.o buffer_puts.o buffer_flush.o buffer_put.o \
48 buffer_putulong.o buffer_2.o buffer_putspace.o buffer_stubborn.o \
49 buffer_putflush.o str_copy.o fmt_ulong.o byte_diff.o byte_copy.o \
50 str_len.o str_diff.o str_chr.o str_diffn.o str_start.o scan_ulong.o
51 - ar cru $@ $^
52 + $(AR) cru $@ $^
53 -ranlib $@
55 httpd.o: httpd.c