Enforce C++11 as a minimum for building gold [PR30867]
authorTamar Christina <tamar.christina@arm.com>
Thu, 4 Jan 2024 15:20:14 +0000 (15:20 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 5 Jan 2024 02:30:11 +0000 (13:00 +1030)
commit941d02eaae0557c80c9e4130478e584a8b284494
treef1d28d68642d792b0b2ee228c2ee3e5a450a1275
parent375beedfd34162b1aeb9b28cacd6f458834716da
Enforce C++11 as a minimum for building gold [PR30867]

The attempt in 5e9091dab885 to correct gold for modern LLVM has broken
gold for older compilers.  This commit introduced C++11 types without
changing the build system to require a C++ compiler.  More importantly
it depends on the compiler having at least C++11 as the default
language.  Older compilers which support C++11 but not as the default
language needlessly break.  Fix that.

PR gold/30867
* configure.ac (AX_CXX_COMPILE_STDCXX): Require C++11.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.in: Regenerate.
gold/Makefile.in
gold/aclocal.m4
gold/config.in
gold/configure
gold/configure.ac
gold/testsuite/Makefile.in