Add --with-static-standard-libraries to the top level
authorTom Tromey <tom@tromey.com>
Mon, 19 Aug 2019 15:47:30 +0000 (15:47 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Mon, 19 Aug 2019 15:47:30 +0000 (15:47 +0000)
commitaac9103b0e13e49cc4e88abc857d4d043ce20bd4
tree1028bf8d37dd79dc12f8142bbe022398bae633fd
parent3bbc329b2498e895048ab46e83ce43c2d55cfa27
Add --with-static-standard-libraries to the top level

gdb should normally not be linked with -static-libstdc++.  Currently
this has not caused problems, but it's incompatible with catching an
exception thrown from a shared library -- and a subsequent patch
changes gdb to do just this.

This patch adds a new --with-static-standard-libraries flag to the
top-level configure.  It defaults to "auto", which means enabled if
gcc is being built, and disabled otherwise.

ChangeLog
2019-08-19  Tom Tromey  <tom@tromey.com>

* configure: Rebuild.
* configure.ac: Add --with-static-standard-libraries.

From-SVN: r274673
ChangeLog
configure
configure.ac