On Mär 11 2019, Jonathan Wakely <jwak...@redhat.com> wrote: > What do you think about adding the following? > > --- a/libstdc++-v3/testsuite/lib/dg-options.exp > +++ b/libstdc++-v3/testsuite/lib/dg-options.exp > @@ -257,6 +257,15 @@ proc add_options_for_net_ts { flags } { > return $flags > } > > +# Add to FLAGS all the target-specific flags to link to libatomic, if > required. > + > +proc add_options_for_libatomic { flags } { > + if { [istarget hppa*-*-hpux*] } { > + return "$flags -L../../libatomic/.libs -latomic" > + } > + return $flags > +}
That should probably also be enabled for riscv*-*-*. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."