libstdc++: Use libatomic for tests on all 32-bit powerpc targets
authorJonathan Wakely <jwakely@redhat.com>
Wed, 2 Dec 2020 16:37:56 +0000 (16:37 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 2 Dec 2020 16:37:56 +0000 (16:37 +0000)
commitdd053eea0be4f3ec8b76fb2e103a13a3977bcf9f
tree9ea77183b82d19bc6844b8ab5445986690e1ac2c
parentaf4180513836806e2b351d516af55f6664c8821a
libstdc++: Use libatomic for tests on all 32-bit powerpc targets

In addition to the existing powerpc targets, powerpc64 needs libatomic
for 64-bit atomics when testing the 32-bit multilib with -m32. Adjust
the existing target checks to match all 32-bit powerpc targets, but not
64-bit ones.

libstdc++-v3/ChangeLog:

* testsuite/lib/dg-options.exp (add_options_for_libatomic):
Replace powerpc-ibm-aix* and powerpc*-*-darwin* with check for
powerpc && ilp32.
libstdc++-v3/testsuite/lib/dg-options.exp