Use libatomic if necessary
authorBenjamin Barenblat <bbaren@google.com>
Sun, 8 Jan 2023 21:54:44 +0000 (21:54 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 8 Jan 2023 21:54:44 +0000 (21:54 +0000)
commitb416aa5125538dc0c5e235e26c474a74d485872e
tree505aab1d9d304a719c5c6669dd460ffe9ffc702b
parentebf2393e339e7b5d2e50979b038c040c7d508181
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