packages/net/redir/patches/00_honor_copts.patch
jow cc9111fe9c New package redir
This patch adds a new package "redir" that allows to redirect incoming
TCP connections to a specific destination in a proxy-like way.


git-svn-id: svn://svn.openwrt.org/openwrt/packages@15686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 14:14:59 +00:00

13 lines
461 B
Diff

diff -ruN a/Makefile b/Makefile
--- a/Makefile 2009-05-07 14:31:14.000000000 +0100
+++ b/Makefile 2009-05-07 14:31:47.000000000 +0100
@@ -32,7 +32,7 @@
# if your system lacks getopt_long, remove the comment from this line
OBJS = redir.o $(GETOPT_OBJS)
-CFLAGS = -O2 -Wall $(STR_CFLAGS) $(WRAP_CFLAGS) $(EXTRA_CFLAGS)
+CFLAGS += -Wall $(STR_CFLAGS) $(WRAP_CFLAGS) $(EXTRA_CFLAGS)
LDFLAGS = -s
# solaris, and others, may also need these libraries to link