Use libatomic if necessary
authorBenjamin Barenblat <bbaren@google.com>
Tue, 9 Feb 2021 19:41:06 +0000 (19:41 +0000)
committerBenjamin Barenblat <bbaren@debian.org>
Tue, 9 Feb 2021 19:41:06 +0000 (19:41 +0000)
commitf5a08880d80d31a9c93c990206602b05b797e500
tree9d464a40e449229b66de831924bb8904a4f59037
parent22f6f273eaa19fc7d7987a556c6cdce0888a60c3
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