summaryrefslogtreecommitdiffstats
path: root/openwrt/package/tcp_wrappers/patches/opt_cflags.patch
blob: 7b7633393857ccbd0b131d597ff4a9511d31342b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- tcp_wrappers_7.6/Makefile.orig	2005-05-21 18:11:32.000000000 +0200
+++ tcp_wrappers_7.6/Makefile	2005-05-21 18:14:28.000000000 +0200
@@ -689,7 +689,8 @@
 shared/%.o: %.c
 	$(CC) $(CFLAGS) $(SHCFLAGS) -c $< -o $@
 
-CFLAGS	= -O2 -g -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
+OPT_CFLAGS = -O2 -g
+CFLAGS	= $(OPT_CFLAGS) -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
 	$(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \
 	-DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \
 	-DSEVERITY=$(SEVERITY) -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \