Add --disable-static-c++-tests option [BZ #31797]
commitba144c179eb12a6aff145582671cbb8b1045c5b9
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 20 Jun 2024 22:28:13 +0000 (20 15:28 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 2 Jul 2024 07:51:34 +0000 (2 00:51 -0700)
tree1b7a38ea0ab4bd50303d2f71bc2f5ab6bfe190e2
parent23f12e6e0c95aaf8b5b4973d029db794a43f248a
Add --disable-static-c++-tests option [BZ #31797]

By default, if the C++ toolchain lacks support for static linking,
configure fails to find the C++ header files and the glibc build fails.
The --disable-static-c++-link-check option allows the glibc build to
finish, but static C++ tests will fail if the C++ toolchain doesn't
have the necessary static C++ libraries which may not be easily installed.
Add --disable-static-c++-tests option to skip the static C++ link check
and tests.  This fixes BZ #31797.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
INSTALL
configure
configure.ac
manual/install.texi
nptl/Makefile