From 05f8fb1fab1ca99ee07d9185fb232be3d6de4fcc Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Sat, 15 Jun 2019 17:08:18 +0000 Subject: [PATCH] Similar to r335710 avoid ccache when linking a .cc file directly. Sponsored by: DellEMC --- 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 0fefb1179c2c..5396bae05087 100644 --- a/share/mk/bsd.suffixes.mk +++ b/share/mk/bsd.suffixes.mk @@ -19,7 +19,7 @@ ${CC} -emit-llvm ${IR_CFLAGS} -S ${.IMPSRC} -o ${.TARGET} .cc .cpp .cxx .C: - ${CXX} ${CXXFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET} + ${CXX:N${CCACHE_BIN}} ${CXXFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET} .cc.o .cpp.o .cxx.o .C.o: ${CXX} ${STATIC_CXXFLAGS} ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET}