From 3e47e0ec508d823c3482816b6dcde02d2126469f Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 12 Dec 2019 02:21:48 +0000 Subject: CONFIGURE: Ensure Compiler Errors Are Saved in Temporary Debug Log This is for debugging the current buildbot toolchain failures, but it is a relatively innocuous change which should help debugging if compilers are failed to be detected for various porters. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index e2d1874f22..2aea6cd8e8 100755 --- a/configure +++ b/configure @@ -1979,9 +1979,9 @@ EOF if test -n "$_host"; then # In cross-compiling mode, we cannot run the result - eval "$1 $CXXFLAGS -o $TMPO.o -c tmp_cxx_compiler.cpp" 2> /dev/null && cc_check_clean tmp_cxx_compiler.cpp + eval "$1 $CXXFLAGS -o $TMPO.o -c tmp_cxx_compiler.cpp" 2>> "$TMPLOG" && cc_check_clean tmp_cxx_compiler.cpp else - eval "$1 $CXXFLAGS $LDFLAGS -o $TMPO$HOSTEXEEXT tmp_cxx_compiler.cpp" 2> /dev/null && eval "$TMPO$HOSTEXEEXT 2> /dev/null" && cc_check_clean tmp_cxx_compiler.cpp + eval "$1 $CXXFLAGS $LDFLAGS -o $TMPO$HOSTEXEEXT tmp_cxx_compiler.cpp" 2>> "$TMPLOG" && eval "$TMPO$HOSTEXEEXT 2>> $TMPLOG" && cc_check_clean tmp_cxx_compiler.cpp fi } -- cgit v1.2.3