8fa9b9c091
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39821 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
459 B
Diff
14 lines
459 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -84,8 +84,8 @@ solaris:
|
|
$(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= \
|
|
- CFLAGS="-DUNIX" LFLAGS="" LIBS="-lpthread" OUT=-o
|
|
+ $(MAKE) all CC="$(CC) -O -s" O=.o X= \
|
|
+ LFLAGS="" LIBS="-lpthread" OUT=-o
|
|
macosx:
|
|
$(MAKE) all CC="gcc -O" O=.o X= \
|
|
CFLAGS="-DUNIX -DSOCKLEN_T" LFLAGS="" LIBS="-lpthread" OUT=-o
|