packages/net/netio/patches/001-Makefile.patch

12 lines
421 B
Diff
Raw Normal View History

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