diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-01-16 16:46:00 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-01-17 10:32:55 +0100 |
commit | edcf13e25c1559558a6f12ff5a71d4136a39235e (patch) | |
tree | e4a7b699c227a8696bd67dba3c914d88f9673cb7 | |
parent | abf2e34ee6a9cf1b7e5afddd13971754e5c5fa82 (diff) | |
download | glibc-edcf13e25c1559558a6f12ff5a71d4136a39235e.tar.gz |
nptl/tst-thread-exit-clobber: Run with any C++ compiler
We do not need thread_local support in the C++11 comiler, and the
minimum GCC version for glibc has C++11 support (if it has C++ support).
(cherry picked from commit 10d200dbace0ea5198006b313f40c3b884c88724)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | nptl/Makefile | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2018-01-16 Florian Weimer <fweimer@redhat.com> + + * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported): + Move tst-thread-exit-clobber ... + [$(CXX)] (tests-unsupported): ... to here. + 2018-01-11 Florian Weimer <fweimer@redhat.com> * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment diff --git a/nptl/Makefile b/nptl/Makefile index 5f7ba532e0..c263c131e7 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -449,11 +449,11 @@ endif ifeq (,$(CXX)) # These tests require a C++ compiler and runtime. tests-unsupported += tst-cancel24 tst-cancel24-static tst-once5 \ - tst-minstack-throw + tst-thread-exit-clobber tst-minstack-throw endif # These tests require a C++ compiler and runtime with thread_local support. ifneq ($(have-cxx-thread_local),yes) -tests-unsupported += tst-thread_local1 tst-thread-exit-clobber +tests-unsupported += tst-thread_local1 endif include ../Rules |