svn commit: r301286 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Fri Jun 3 19:25:47 UTC 2016


Author: bdrewery
Date: Fri Jun  3 19:25:45 2016
New Revision: 301286
URL: https://svnweb.freebsd.org/changeset/base/301286

Log:
  WITH_CCACHE_BUILD + WITH_META_MODE: Ignore ccache changes.
  
  Ccache will not affect the output of the objects, so just ignore it for
  meta mode handling.  This avoids having everything rebuild if ccache is
  updated.
  
  Sponsored by:	EMC / Isilon Storage Division

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

Modified: head/share/mk/bsd.compiler.mk
==============================================================================
--- head/share/mk/bsd.compiler.mk	Fri Jun  3 19:25:41 2016	(r301285)
+++ head/share/mk/bsd.compiler.mk	Fri Jun  3 19:25:45 2016	(r301286)
@@ -96,6 +96,9 @@ CCACHE_DIR:=	${CCACHE_DIR:tA}
 .MAKE.META.IGNORE_PATHS+= ${CCACHE_DIR}
 .export CCACHE_DIR
 .endif
+# ccache doesn't affect build output so let it slide for meta mode
+# comparisons.
+.MAKE.META.IGNORE_PATHS+= ${CCACHE_BIN}
 ccache-print-options: .PHONY
 	@${CCACHE_BIN} -p
 .endif	# exists(${CCACHE_BIN})


More information about the svn-src-all mailing list