From 90eb413a336ee0c6a8498435d43d2c0e2ee2fbe5 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Wed, 27 Jun 2018 16:58:07 +0000 Subject: [PATCH] CCACHE_BUILD: Don't try using ccache for compile-linking .c files. Without -c ccache just executes the real compiler. MFC after: 2 weeks Sponsored by: Dell EMC --- share/mk/bsd.suffixes.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/bsd.suffixes.mk b/share/mk/bsd.suffixes.mk index 27810f65811e..0fefb1179c2c 100644 --- a/share/mk/bsd.suffixes.mk +++ b/share/mk/bsd.suffixes.mk @@ -5,7 +5,7 @@ chmod a+x ${.TARGET} .c: - ${CC} ${CFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET} + ${CC:N${CCACHE_BIN}} ${CFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET} ${CTFCONVERT_CMD} .c.o: