--- old/common/autoconf/build-performance.m4 2018-04-13 08:33:11.860799777 -0700 +++ new/common/autoconf/build-performance.m4 2018-04-13 08:33:11.774792071 -0700 @@ -169,8 +169,8 @@ if test "x$enable_ccache" = xyes; then AC_MSG_RESULT([yes]) OLD_PATH="$PATH" - if test "x$TOOLS_DIR" != x; then - PATH=$TOOLS_DIR:$PATH + if test "x$TOOLCHAIN_PATH" != x; then + PATH=$TOOLCHAIN_PATH:$PATH fi BASIC_REQUIRE_PROGS(CCACHE, ccache) CCACHE_STATUS="enabled"