Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2018 16:58:07 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335710 - head/share/mk
Message-ID:  <201806271658.w5RGw7KS073095@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806271658.w5RGw7KS073095>