Explicitly link with libatomic when needed.
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 29 Feb 2020 17:46:12 +0000 (17:46 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 29 Feb 2020 17:46:12 +0000 (17:46 +0000)
commitbd55ce63657b42e32040d1e09b4cd76fe3705474
tree0ddf07c5a2185a9521494be2e91a9bdda71df59a
parent44c85722dc6499c65264d1d45ffe01701053b067
Explicitly link with libatomic when needed.

2020-02-29  John David Anglin  <danglin@gcc.gnu.org>

* testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc:
Add libatomic option.
* testsuite/30_threads/jthread/jthread.cc: Likewise.
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc
libstdc++-v3/testsuite/30_threads/jthread/jthread.cc