Use libatomic if necessary
authorBenjamin Barenblat <bbaren@google.com>
Thu, 14 Apr 2022 17:20:16 +0000 (18:20 +0100)
committerBenjamin Barenblat <bbaren@debian.org>
Thu, 14 Apr 2022 17:20:16 +0000 (18:20 +0100)
commit07d487449ddfafd711978c1df9b5027ba2aba880
tree38927aab5433e15d0cd08b4d0e68ca47085c5bc7
parent1c0ad5bf17597a597b0509fd047b904d4319c613
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