unbound: moved to github
[packages.git] / net / redir / patches / 00_honor_copts.patch
1 diff -ruN a/Makefile b/Makefile
2 --- a/Makefile  2009-05-07 14:31:14.000000000 +0100
3 +++ b/Makefile  2009-05-07 14:31:47.000000000 +0100
4 @@ -32,7 +32,7 @@
5  # if your system lacks getopt_long, remove the comment from this line
6  OBJS = redir.o $(GETOPT_OBJS)
7  
8 -CFLAGS = -O2 -Wall $(STR_CFLAGS) $(WRAP_CFLAGS) $(EXTRA_CFLAGS)
9 +CFLAGS += -Wall $(STR_CFLAGS) $(WRAP_CFLAGS) $(EXTRA_CFLAGS)
10  LDFLAGS = -s
11  
12  # solaris, and others, may also need these libraries to link