packages/net/rinetd/patches/001-crosscompile.patch

13 lines
222 B
Diff
Raw Normal View History

--- 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