aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-01-16 16:46:00 +0100
committerFlorian Weimer <fweimer@redhat.com>2018-01-16 21:46:37 +0100
commit10d200dbace0ea5198006b313f40c3b884c88724 (patch)
tree7386c6aa973985014e5750767561e395c0b43f30
parent953c49cc3bb1041090281042148197ad3537c551 (diff)
downloadglibc-10d200dbace0ea5198006b313f40c3b884c88724.zip
glibc-10d200dbace0ea5198006b313f40c3b884c88724.tar.gz
glibc-10d200dbace0ea5198006b313f40c3b884c88724.tar.bz2
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).
-rw-r--r--ChangeLog6
-rw-r--r--nptl/Makefile4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ce13e85..9d96be0 100644
--- 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 Szabolcs Nagy <szabolcs.nagy@arm.com>
* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
diff --git a/nptl/Makefile b/nptl/Makefile
index a11a25b..7940b3d 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -461,11 +461,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