svn commit: r335710 - head/share/mk
Bryan Drewery
bdrewery at FreeBSD.org
Wed Jun 27 16:58:09 UTC 2018
Author: bdrewery
Date: Wed Jun 27 16:58:07 2018
New Revision: 335710
URL: https://svnweb.freebsd.org/changeset/base/335710
Log:
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
Modified:
head/share/mk/bsd.suffixes.mk
Modified: head/share/mk/bsd.suffixes.mk
==============================================================================
--- head/share/mk/bsd.suffixes.mk Wed Jun 27 16:58:03 2018 (r335709)
+++ head/share/mk/bsd.suffixes.mk Wed Jun 27 16:58:07 2018 (r335710)
@@ -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:
More information about the svn-src-all
mailing list