update busybox+ipkg to latest ipkg (v0.99.162),
[openwrt.git] / openwrt / package / iptraf / patches / 01-cross_compile.patch
1 diff -urN iptraf-3.0.0/support/Makefile iptraf-3.0.0.new/support/Makefile
2 --- iptraf-3.0.0/support/Makefile 2002-07-19 18:31:48.000000000 +0200
3 +++ iptraf-3.0.0.new/support/Makefile 2006-04-16 16:07:58.000000000 +0200
4 @@ -3,16 +3,14 @@
5 OBJS = input.o menurt.o listbox.o winops.o labels.o \
6 msgboxes.o txbox.o
7
8 -all: libtextbox.a
9 -
10 libtextbox.a: $(OBJS)
11 rm -rf libtextbox.a
12 - ar cq libtextbox.a $(OBJS)
13 - ranlib libtextbox.a
14 -# gcc -shared -o libtextbox.so $(OBJS)
15 + $(AR) cq libtextbox.a $(OBJS)
16 + $(RANLIB) libtextbox.a
17 +# $(CC) -shared -o libtextbox.so $(OBJS)
18
19 %.o: %.c *.h
20 - gcc -O2 -g -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
21 + $(CC) -O2 -g -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
22
23 clean:
24 rm -rf *.o *~ libtextbox.a libtextbox.so
This page took 0.041057 seconds and 5 git commands to generate.