aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-06-20 15:28:13 -0700
committerH.J. Lu <hjl.tools@gmail.com>2024-07-02 00:51:34 -0700
commitba144c179eb12a6aff145582671cbb8b1045c5b9 (patch)
tree1b7a38ea0ab4bd50303d2f71bc2f5ab6bfe190e2 /manual
parent23f12e6e0c95aaf8b5b4973d029db794a43f248a (diff)
downloadglibc-ba144c179eb12a6aff145582671cbb8b1045c5b9.zip
glibc-ba144c179eb12a6aff145582671cbb8b1045c5b9.tar.gz
glibc-ba144c179eb12a6aff145582671cbb8b1045c5b9.tar.bz2
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>
Diffstat (limited to 'manual')
-rw-r--r--manual/install.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/manual/install.texi b/manual/install.texi
index 6b6595a..a7847b0 100644
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -252,6 +252,14 @@ configure with @option{--disable-werror}.
By default for x86_64, @theglibc{} is built with the vector math library.
Use this option to disable the vector math library.
+@item --disable-static-c++-tests
+By default, if the C++ toolchain lacks support for static linking,
+configure fails to find the C++ header files and the glibc build fails.
+@option{--disable-static-c++-link-check} allows the glibc build to finish,
+but static C++ tests will fail if the C++ toolchain doesn't have the
+necessary static C++ libraries. Use this option to skip the static C++
+tests. This option implies @option{--disable-static-c++-link-check}.
+
@item --disable-static-c++-link-check
By default, if the C++ toolchain lacks support for static linking,
configure fails to find the C++ header files and the glibc build fails.