--- old/common/autoconf/build-performance.m4 2014-03-26 10:59:31.569524842 +0100 +++ new/common/autoconf/build-performance.m4 2014-03-26 10:59:31.481521253 +0100 @@ -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"