From df4275e7565f1de853cb3de9d5b6580a6ebd6534 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sun, 15 Jan 2023 13:49:44 +0000 Subject: [PATCH] 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. (cherry picked from commit 5ba715ed1aaf24d4f07c0d250a0a9df03aa0acb2) --- libstdc++-v3/testsuite/30_threads/jthread/jthread.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc b/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc index 82c01caf7abc..849a2781a692 100644 --- a/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc +++ b/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { 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 } } -- 2.47.2