Skip to content

Commit

Permalink
META_MODE: Follow-up r287865 and define CCACHE_DIR as realpath'd.
Browse files Browse the repository at this point in the history
Filemon(4) will record paths as they are seen, not as fully resolved.  make(1)
will take the .MAKE.META.IGNORE_PATHS values and resolve them.  This creates
a discrepancy if CCACHE_DIR is a symlink.  Fix this by ensuring it is
resolved for its actual usage.

Submitted by:	sjg
  • Loading branch information
bdrewery committed Sep 23, 2015
1 parent 8e145cc commit c599166
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions share/mk/local.meta.sys.mk
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ UPDATE_DEPENDFILE= NO
.MAKE.META.BAILIWICK = ${SB} ${OBJROOT} ${STAGE_ROOT}

.if defined(CCACHE_DIR)
CCACHE_DIR := ${CCACHE_DIR:tA}
.MAKE.META.IGNORE_PATHS += ${CCACHE_DIR}
.export CCACHE_DIR
.endif

CSU_DIR.${MACHINE_ARCH} ?= csu/${MACHINE_ARCH}
Expand Down

0 comments on commit c599166

Please sign in to comment.