]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
nptl/tst-thread-exit-clobber: Run with any C++ compiler
authorFlorian Weimer <fweimer@redhat.com>
Tue, 16 Jan 2018 15:46:00 +0000 (16:46 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 17 Jan 2018 09:32:14 +0000 (10:32 +0100)
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)

ChangeLog
nptl/Makefile

index b0e4fb4c825b96fb5600395bfd86b606678231c9..73777b3b86e7a2c2cc95094005e7f09b810b1eff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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-16  Florian Weimer  <fweimer@redhat.com>
 
        * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
index 75e21ea90d794486a8e08e44d1c9f1541b879d3c..0b01e18106d421a6f58150501a9afb4dd9d5575b 100644 (file)
@@ -460,11 +460,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