libstdc++: Remove unconditional -pthread from test options

This shouldn't be in the common options, it's already added for the
relevant targets using dg-additional-options.

libstdc++-v3/ChangeLog:

	* testsuite/30_threads/jthread/jthread.cc: Remove -pthread from
	dg-options.
This commit is contained in:
Jonathan Wakely 2023-01-15 13:49:44 +00:00
parent b92e553558
commit 5ba715ed1a

View File

@ -15,7 +15,7 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++2a -pthread" }
// { dg-options "-std=gnu++2a" }
// { dg-do run { target c++2a } }
// { dg-add-options libatomic }
// { dg-additional-options "-pthread" { target pthread } }