From: Peter Korsgaard Date: Wed, 8 Feb 2012 22:40:20 +0000 (+0100) Subject: dependencies.sh: fix host g++ check when ccache is used X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7100a2cc337976b1a88a393881402a9590d42f2d;p=buildroot.git dependencies.sh: fix host g++ check when ccache is used Similar to how we do it for gcc. Signed-off-by: Peter Korsgaard --- diff --git a/toolchain/dependencies/dependencies.sh b/toolchain/dependencies/dependencies.sh index 2b9c0b373c..c47ffcf43c 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