summaryrefslogtreecommitdiffstats
path: root/openwrt/package/tcp_wrappers/patches/opt_cflags.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-21 16:05:11 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-21 16:05:11 +0000
commit1878c4f47d53e5b38efd90715eedf6edbe8ef884 (patch)
treef4a7db11ee5792cf483d10d2e7561b4a822d0561 /openwrt/package/tcp_wrappers/patches/opt_cflags.patch
parentf39542eb757d8b7612ebacdc6ddbc07b26a9fec1 (diff)
Convert tcp_wrappers to new packaging style, add a patch for target optimizations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1009 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/tcp_wrappers/patches/opt_cflags.patch')
-rw-r--r--openwrt/package/tcp_wrappers/patches/opt_cflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/tcp_wrappers/patches/opt_cflags.patch b/openwrt/package/tcp_wrappers/patches/opt_cflags.patch
new file mode 100644
index 000000000..7b7633393
--- /dev/null
+++ b/openwrt/package/tcp_wrappers/patches/opt_cflags.patch
@@ -0,0 +1,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) \