From 6c24213e6145ea9ad9ca07ff044a9f65b97c8408 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Fri, 3 Jun 2016 19:25:45 +0000 Subject: [PATCH] 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 --- share/mk/bsd.compiler.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/mk/bsd.compiler.mk b/share/mk/bsd.compiler.mk index d078dfeb2c3..38c4f5f2460 100644 --- a/share/mk/bsd.compiler.mk +++ b/share/mk/bsd.compiler.mk @@ -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})