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
set(ABSL_TEST_COPTS "")
endif()
+list(APPEND ABSL_DEFAULT_LINKOPTS
+ "-Wl,--as-needed" "-latomic" "-Wl,--no-as-needed"
+)
+
set(ABSL_CXX_STANDARD "${CMAKE_CXX_STANDARD}")