From: Jonathan Wakely Date: Sun, 15 Jan 2023 13:49:44 +0000 (+0000) Subject: libstdc++: Remove unconditional -pthread from test options X-Git-Tag: releases/gcc-12.3.0~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=df4275e7565f1de853cb3de9d5b6580a6ebd6534;p=thirdparty%2Fgcc.git 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) --- 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 } }