mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
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>
This commit is contained in:
@@ -101,7 +101,7 @@ if [ $COMPILER_MAJOR -lt 3 -o $COMPILER_MAJOR -eq 2 -a $COMPILER_MINOR -lt 95 ]
|
|||||||
fi;
|
fi;
|
||||||
|
|
||||||
# check for host CXX
|
# check for host CXX
|
||||||
CXXCOMPILER=$(which $HOSTCXX 2> /dev/null)
|
CXXCOMPILER=$(which $HOSTCXX_NOCCACHE 2> /dev/null)
|
||||||
if [ -z "$CXXCOMPILER" ] ; then
|
if [ -z "$CXXCOMPILER" ] ; then
|
||||||
CXXCOMPILER=$(which c++ 2> /dev/null)
|
CXXCOMPILER=$(which c++ 2> /dev/null)
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user