summaryrefslogtreecommitdiff
path: root/sys-fs/cachefilesd/files/cachefilesd-0.10.9-makefile.patch
blob: 276eff35a1c09622291bce2c61c5a389992dd3a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- cachefilesd-0.10.9/Makefile.old	2016-07-18 11:12:38.467106807 +0800
+++ cachefilesd-0.10.9/Makefile	2016-07-18 11:13:59.937770347 +0800
@@ -1,4 +1,3 @@
-CFLAGS		:= -g -O2 -Wall -Wsign-compare
 INSTALL		:= install
 DESTDIR		:=
 ETCDIR		:= /etc
@@ -40,7 +39,10 @@
 ###############################################################################
 all: cachefilesd
 
-cachefilesd: cachefilesd.c Makefile
+cachefilesd.o: cachefilesd.c
+	$(CC) $(CFLAGS) -c $<
+
+cachefilesd: cachefilesd.o
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
 
 ###############################################################################