diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-03-21 18:15:02 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-03-21 18:15:02 +0000 |
commit | 44d3e98efa6e5909200237a41e9220592feaf73b (patch) | |
tree | 94a45aa5dde0961c42fd5d2dd9358d399896e7e0 | |
parent | 2c9a56bd3c5d54356877a023879b9f2e6529063d (diff) | |
download | buildroot-novena-44d3e98efa6e5909200237a41e9220592feaf73b.tar.gz buildroot-novena-44d3e98efa6e5909200237a41e9220592feaf73b.zip |
- ignore errors when looking at hostcc and hostcxx
-rwxr-xr-x | toolchain/dependencies/dependencies.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchain/dependencies/dependencies.sh b/toolchain/dependencies/dependencies.sh index f19de1ca0..f0ac1160e 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 |