summaryrefslogtreecommitdiffstats
path: root/toolchain/dependencies
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-02-08 23:40:20 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-02-08 23:40:20 +0100
commit7100a2cc337976b1a88a393881402a9590d42f2d (patch)
treeec3e6d3ada99d7a0fb8b54bc001deae3ac5739e0 /toolchain/dependencies
parent779c9699f912131420291c6958db43a9d890e678 (diff)
downloadbuildroot-novena-7100a2cc337976b1a88a393881402a9590d42f2d.tar.gz
buildroot-novena-7100a2cc337976b1a88a393881402a9590d42f2d.zip
dependencies.sh: fix host g++ check when ccache is used
Similar to how we do it for gcc. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/dependencies')
-rwxr-xr-xtoolchain/dependencies/dependencies.sh2
1 files changed, 1 insertions, 1 deletions
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