configure: Also check C++11 (flags) for ${build} compiler not only for ${host}
authorTobias Burnus <tobias@codesourcery.com>
Thu, 20 Aug 2020 19:59:00 +0000 (21:59 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Thu, 20 Aug 2020 19:59:00 +0000 (21:59 +0200)
commit7ffcf5d61174dda1f39a623e15f7e5d6b98bbafc
tree5a4040f6ed10dc25d825c090cf2de953b80bd7be
parent5e9ad288eb6fb366142b166e7985d16727b398e1
configure: Also check C++11 (flags) for ${build} compiler not only for ${host}

config/ChangeLog:

PR bootstrap/96612
* ax_cxx_compile_stdcxx.m4: Add fourth argument to check also
the CXX_FOR_BUILD compiler.

ChangeLog:

PR bootstrap/96612
* configure.ac: Run AX_CXX_COMPILE_STDCXX also for ${build} compiler,
if not the same as ${host}.
* configure: Regenerate.
config/ax_cxx_compile_stdcxx.m4
configure
configure.ac