HomeFreeBSD

CCACHE_BUILD: Follow-up r321880: Fix some PATH issues with buildworld.

Description

CCACHE_BUILD: Follow-up r321880: Fix some PATH issues with buildworld.

  • bsd.compiler.mk: Must ensure that the CCACHE_WRAPPER_PATH comes first in PATH.
  • Makefile.inc1: Must prepend the CCACHE_WRAPPER_PATH into BPATH as it overrides the PATH set in bsd.compiler.mk in sub-makes. The PATH set in bsd.compiler.mk is not exported and doing so would cause it to then override the BPATH set from environment. The only sane solution is to prepend into BPATH as needed.

CCACHE_PATH could possibly be used for some of this as well.

Sponsored by: Dell EMC Isilon

Details

Provenance
bdreweryAuthored on
Parents
rS321886: Add Anne Dickison.
Branches
Unknown
Tags
Unknown