summaryrefslogtreecommitdiff
path: root/package/reaim/patches/501-cross_compile-install.patch
blob: db33bf6c378ef362317a461ffe860f4a69485c0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -urN reaim-0.8/Makefile reaim-0.8/Makefile
--- reaim-0.8.orig/Makefile	2002-11-28 06:10:38.000000000 +0100
+++ reaim-0.8/Makefile	2009-06-02 00:30:32.000000000 +0200
@@ -11,7 +11,10 @@ FW_FLAGS="-DUSE_IPF"
 endif
 
 reaim: reaim.c
-	gcc -o reaim reaim.c -g -Wall $(FW_FLAGS)
-
+	$(CC) $(CFLAGS) -o reaim reaim.c -Wall $(FW_FLAGS)
 clean:
 	-rm reaim
+
+install:
+	install -d -m 0755 $(DESTDIR)/usr/sbin
+	install -m 0755 reaim $(DESTDIR)/usr/sbin/