From 7100a2cc337976b1a88a393881402a9590d42f2d Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 8 Feb 2012 23:40:20 +0100 Subject: dependencies.sh: fix host g++ check when ccache is used Similar to how we do it for gcc. Signed-off-by: Peter Korsgaard --- toolchain/dependencies/dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/dependencies/dependencies.sh b/toolchain/dependencies/dependencies.sh index 2b9c0b373..c47ffcf43 100755 --- a/toolchain/dependencies/dependencies.sh +++ b/toolchain/dependencies/dependencies.sh @@ -101,7 +101,7 @@ if [ $COMPILER_MAJOR -lt 3 -o $COMPILER_MAJOR -eq 2 -a $COMPILER_MINOR -lt 95 ] fi; # check for host CXX -CXXCOMPILER=$(which $HOSTCXX 2> /dev/null) +CXXCOMPILER=$(which $HOSTCXX_NOCCACHE 2> /dev/null) if [ -z "$CXXCOMPILER" ] ; then CXXCOMPILER=$(which c++ 2> /dev/null) fi -- cgit v1.2.3