mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03: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;
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user