Use libatomic if necessary
authorBenjamin Barenblat <bbaren@google.com>
Tue, 18 Oct 2022 14:02:49 +0000 (15:02 +0100)
committerBenjamin Barenblat <bbaren@debian.org>
Tue, 18 Oct 2022 14:02:49 +0000 (15:02 +0100)
commit2c518afa710d12a1164d2f1c077e11c835632180
treed3f88541d8affe32ae09ffc8da89b1e0bab455bc
parent547f628b44930415982912868855b491dc9cea7a
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