packages/net/netio/patches/001-Makefile.patch
florian 035b8eda21 [package] add netio bandwidth measurement tool (#8668)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-07 16:09:18 +00:00

12 lines
421 B
Diff

--- 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= \