diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2012-02-08 23:40:20 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-02-08 23:40:20 +0100 |
commit | 7100a2cc337976b1a88a393881402a9590d42f2d (patch) | |
tree | ec3e6d3ada99d7a0fb8b54bc001deae3ac5739e0 /toolchain/dependencies | |
parent | 779c9699f912131420291c6958db43a9d890e678 (diff) | |
download | buildroot-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-x | toolchain/dependencies/dependencies.sh | 2 |
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 |