[package] add netio bandwidth measurement tool (#8668)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@33045 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2012-08-07 16:09:18 +00:00
parent 582b2e3011
commit 035b8eda21
3 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/Makefile 2011-01-17 17:15:11.000000000 +0100
+++ b/Makefile 2010-10-14 15:03:42.000000000 +0200
@@ -84,7 +84,7 @@
$(MAKE) all CC="gcc -O -s" O=.o X= \
CFLAGS="-DUNIX" LFLAGS="" LIBS="-lsocket -lpthread -lnsl" OUT=-o
linux:
- $(MAKE) all CC="gcc -O -s" O=.o X= \
+ $(MAKE) all CC="$(CC) -O -s" O=.o X= \
CFLAGS="-DUNIX" LFLAGS="" LIBS="-lpthread" OUT=-o
macosx:
$(MAKE) all CC="gcc -O" O=.o X= \