openwrt_archive/net/redir/patches/00_honor_copts.patch
Jo-Philipp Wich 7d7d375df9 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.


SVN-Revision: 15686
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