svn commit: r349063 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Sat Jun 15 17:08:19 UTC 2019


Author: bdrewery
Date: Sat Jun 15 17:08:18 2019
New Revision: 349063
URL: https://svnweb.freebsd.org/changeset/base/349063

Log:
  Similar to r335710 avoid ccache when linking a .cc file directly.
  
  Sponsored by:	DellEMC

Modified:
  head/share/mk/bsd.suffixes.mk

Modified: head/share/mk/bsd.suffixes.mk
==============================================================================
--- head/share/mk/bsd.suffixes.mk	Sat Jun 15 17:08:13 2019	(r349062)
+++ head/share/mk/bsd.suffixes.mk	Sat Jun 15 17:08:18 2019	(r349063)
@@ -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}


More information about the svn-src-head mailing list