Dash:
[t2.git] / package / network / iptraf / cross-cc.patch
blob29306f6797b5004db3579e74b95629d998c9412f
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../iptraf/cross-cc.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 --- iptraf-3.0.0/support/Makefile.vanilla 2007-08-15 13:21:29.000000000 +0200
18 +++ iptraf-3.0.0/support/Makefile 2007-08-15 13:21:49.000000000 +0200
19 @@ -7,12 +7,12 @@
21 libtextbox.a: $(OBJS)
22 rm -rf libtextbox.a
23 - ar cq libtextbox.a $(OBJS)
24 - ranlib libtextbox.a
25 + $(AR) cq libtextbox.a $(OBJS)
26 + $(RANLIB) libtextbox.a
27 # gcc -shared -o libtextbox.so $(OBJS)
29 %.o: %.c *.h
30 - gcc -O2 -g -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
31 + $(CC) -O2 -g -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
33 clean:
34 rm -rf *.o *~ libtextbox.a libtextbox.so