aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorD G Turner2019-12-12 02:21:48 +0000
committerD G Turner2019-12-12 02:21:48 +0000
commit3e47e0ec508d823c3482816b6dcde02d2126469f (patch)
tree8951a557e483c96e889a0535e8b0493d43254b1b /configure
parent23cf5d4bbb3f8ead75ab723afa62f902dfb95e49 (diff)
downloadscummvm-rg350-3e47e0ec508d823c3482816b6dcde02d2126469f.tar.gz
scummvm-rg350-3e47e0ec508d823c3482816b6dcde02d2126469f.tar.bz2
scummvm-rg350-3e47e0ec508d823c3482816b6dcde02d2126469f.zip
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
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
}