Use libatomic if necessary
authorBenjamin Barenblat <bbaren@google.com>
Fri, 27 May 2022 20:58:38 +0000 (21:58 +0100)
committerBenjamin Barenblat <bbaren@debian.org>
Fri, 27 May 2022 20:58:38 +0000 (21:58 +0100)
commitbf775f3e47d7475e1fc1f4bae170bfb80430ce66
tree778d7ec921cb6969b0343468c9848ad65acc8ae1
parent20c5edf4a6fdb916055553947587694fbcfb4d8c
Use libatomic if necessary

Bug-Debian: https://bugs.debian.org/973492

On some architectures, notably armel, Abseil needs symbols defined in
libatomic. Abseil does not currently have a well-developed system to
declare external library dependencies, so just have the linker determine
if anything needs libatomic and add the DT_NEEDED entry where necessary.

Gbp-Pq: Name latomic.diff
absl/copts/AbseilConfigureCopts.cmake