packages/net/rinetd/patches/001-crosscompile.patch
jow dfea94ccdf [packages] new package: rinetd - internet redirection server
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-14 13:58:02 +00:00

13 lines
222 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
+CC=gcc
CFLAGS=-DLINUX -g
rinetd: rinetd.o match.o
- gcc rinetd.o match.o -o rinetd
+ $(CC) rinetd.o match.o -o rinetd
install: rinetd
install -m 700 rinetd /usr/sbin