[Buildroot] svn commit: trunk/buildroot/toolchain/dependencies

aldot at uclibc.org aldot at uclibc.org
Wed Mar 21 18:15:03 UTC 2007


Author: aldot
Date: 2007-03-21 11:15:02 -0700 (Wed, 21 Mar 2007)
New Revision: 18197

Log:
- ignore errors when looking at hostcc and hostcxx


Modified:
   trunk/buildroot/toolchain/dependencies/dependencies.sh


Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh	2007-03-21 17:53:00 UTC (rev 18196)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh	2007-03-21 18:15:02 UTC (rev 18197)
@@ -4,8 +4,8 @@
 
 echo ""
 echo "Checking build system dependencies:"
+export LC_ALL=C
 
-
 #############################################################
 #
 # check build system 'environment'
@@ -150,7 +150,7 @@
 # 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 @@
 
 
 # check for host CXX
-CXXCOMPILER=$(which $HOSTCXX)
+CXXCOMPILER=$(which $HOSTCXX 2> /dev/null)
 if [ -z "$CXXCOMPILER" ] ; then
 	CXXCOMPILER=$(which c++)
 fi




More information about the buildroot mailing list