[Patch] configure: Also check C++11 (flags) for ${build} compiler not only for ${host}

Tobias Burnus tobias@codesourcery.com
Thu Aug 13 11:51:48 GMT 2020


Here, the ${host} compiler was newer, supporting C++11 by default
while the ${build} compiler required -std=c++11.
Hence, the build failed.

OK?

Tobias

-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-cxx11.diff
Type: text/x-patch
Size: 29229 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200813/a2b2568e/attachment-0001.bin>


More information about the Gcc-patches mailing list