From: Bernhard Reutner-Fischer Date: Wed, 21 Mar 2007 18:15:02 +0000 (-0000) Subject: - ignore errors when looking at hostcc and hostcxx X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=44d3e98efa6e5909200237a41e9220592feaf73b;p=buildroot.git - ignore errors when looking at hostcc and hostcxx --- diff --git a/toolchain/dependencies/dependencies.sh b/toolchain/dependencies/dependencies.sh index f19de1ca04..f0ac1160e5 100755 --- a/toolchain/dependencies/dependencies.sh +++ b/toolchain/dependencies/dependencies.sh @@ -4,7 +4,7 @@ echo "" echo "Checking build system dependencies:" - +export LC_ALL=C ############################################################# # @@ -150,7 +150,7 @@ echo "GNU make version '$MAKE_VERSION': Ok" # check build system 'gcc' # ############################################################# -COMPILER=$(which $HOSTCC) +COMPILER=$(which $HOSTCC 2> /dev/null) if [ -z "$COMPILER" ] ; then COMPILER=$(which cc) fi; @@ -177,7 +177,7 @@ echo "C compiler version '$COMPILER_VERSION': Ok" # check for host CXX -CXXCOMPILER=$(which $HOSTCXX) +CXXCOMPILER=$(which $HOSTCXX 2> /dev/null) if [ -z "$CXXCOMPILER" ] ; then CXXCOMPILER=$(which c++) fi