Use libatomic if necessary
authorBenjamin Barenblat <bbaren@google.com>
Wed, 31 Aug 2022 02:54:45 +0000 (03:54 +0100)
committerBenjamin Barenblat <bbaren@debian.org>
Wed, 31 Aug 2022 02:54:45 +0000 (03:54 +0100)
commitb74725226c84945020763c6a4aef2842d485e46e
tree1691f2ba0a369472d8c68c91afdf0e23e60bbb49
parent30062a172abf7dc4e1361c4ccfc7232db3f83f81
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