fix opt flags in cross-compile patch, remove volatile dirs (in /var) from the package, Makefile cleanup

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5319 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2006-10-28 13:30:56 +00:00
parent 63fcd9def0
commit 72fa1415a8
2 changed files with 10 additions and 12 deletions

View File

@ -18,7 +18,7 @@ diff -urN iptraf-3.0.0/support/Makefile iptraf-3.0.0.new/support/Makefile
%.o: %.c *.h
- gcc -O2 -g -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
+ $(CC) -O2 -g -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
+ $(CC) $(CFLAGS) -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
clean:
rm -rf *.o *~ libtextbox.a libtextbox.so