Use libatomic if necessary
authorBenjamin Barenblat <bbaren@google.com>
Mon, 12 May 2025 15:26:59 +0000 (17:26 +0200)
committerTobias Frost <tobi@debian.org>
Mon, 12 May 2025 15:26:59 +0000 (17:26 +0200)
commit574ab15ae1ed295bc4688db3278a5b4b102d98c3
treeebc0c83f96174728f74c360409a29eb74548a0c0
parent61f573c5f440b10d14070a9adee8ba01aaab18ba
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