Files
gentoo/sys-fs/cachefilesd/files/cachefilesd-0.10.9-makefile.patch
Arthur Zamarin 06a2842fe9 sys-fs/cachefilesd: EAPI=8, some refactors
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-09-10 21:43:44 +03:00

20 lines
531 B
Diff

--- cachefilesd-0.10.9/Makefile
+++ cachefilesd-0.10.9/Makefile
@@ -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 $@ $<
###############################################################################