diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-06-20 15:28:13 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-07-02 00:51:34 -0700 |
commit | ba144c179eb12a6aff145582671cbb8b1045c5b9 (patch) | |
tree | 1b7a38ea0ab4bd50303d2f71bc2f5ab6bfe190e2 /nptl | |
parent | 23f12e6e0c95aaf8b5b4973d029db794a43f248a (diff) | |
download | glibc-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 'nptl')
-rw-r--r-- | nptl/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index 096eef5..c4c27e0 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -545,6 +545,9 @@ tests-static += \ # tests-static tests += tst-cancel24-static +ifeq ($(static-cxx-tests),no) +tests-unsupported += tst-cancel24-static +endif tests-internal += \ tst-sem11-static \ |