changeset 36803:c8b6ad3e5732

configure: Do not print error when cross-compiling.
author ib
date Fri, 21 Feb 2014 05:10:12 +0000
parents 621b61818a0f
children 630f03c82df3
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Feb 20 13:59:34 2014 +0000
+++ b/configure	Fri Feb 21 05:10:12 2014 +0000
@@ -1858,7 +1858,7 @@
 echocheck "cross compilation"
 if test $_cross_compile = auto ; then
   _cross_compile=yes
-  cflag_check "" && "$TMPEXE" && _cross_compile=no
+  cflag_check "" && "$TMPEXE" 2> /dev/null && _cross_compile=no
 fi
 echores $_cross_compile