packages/net/tctool/patches/001_Makefile_fix.diff
florian 75097a215d tctool: include unistd.h for close()
We were failing the build due to a missing prototype for close().

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 16:52:10 +00:00

30 lines
731 B
Diff

--- a/src/Makefile
+++ b/src/Makefile
@@ -31,16 +31,16 @@ MAINOBJ := if.o interface.o etherStream
EXAMPLE := example
EXOBJ := if.o interface.o etherStream.o etherStreambuf.o tcStream.o tcStreambuf.o tcRtsDump.o tcRtsDumpbuf.o
-CXX := g++
-CXXFLAGS := -march=i386 -O2
-LDFLAGS := --strip-unneeded
-LIBS :=
-LDSTATIC := -L. -static-libgcc
-STATICLIBS := stdc++ m
-COUNTRY := "C"
-LANG := "C"
-LANGUAGE := "C"
-LC_ALL := "C"
+#CXX := g++
+#CXXFLAGS := -march=i386 -O2
+#LDFLAGS := --strip-unneeded
+#LIBS :=
+#LDSTATIC := -L. -static-libgcc
+#STATICLIBS := stdc++ m
+#COUNTRY := "C"
+#LANG := "C"
+#LANGUAGE := "C"
+#LC_ALL := "C"
default: install