summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-02-08 22:40:20 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-02-08 22:40:20 (GMT)
commit7100a2cc337976b1a88a393881402a9590d42f2d (patch)
treeec3e6d3ada99d7a0fb8b54bc001deae3ac5739e0
parent779c9699f912131420291c6958db43a9d890e678 (diff)
downloadbuildroot-7100a2cc337976b1a88a393881402a9590d42f2d.tar.gz
buildroot-7100a2cc337976b1a88a393881402a9590d42f2d.tar.bz2
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>
-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 2b9c0b3..c47ffcf 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