packages/libs/tcp_wrappers/patches/002-opt_cflags.patch
acinonyx 34a1aa5229 [packages] tcp_wrappers: Refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:20 +00:00

13 lines
488 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -689,7 +689,8 @@ SHLIBFLAGS = -Lshared -lwrap
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) \