https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331
--- Comment #21 from dave.anglin at bell dot net --- On 2018-02-18 11:12 AM, danglin at gcc dot gnu.org wrote: > // { dg-additional-options "-latomic" { target libatomic_available } } > > doesn't work: The attached hack does work but it depends on the relative placement of the libatomic and libstdc++ directories.