aboutsummaryrefslogtreecommitdiff
path: root/absl/functional/function_ref_test.cc
diff options
context:
space:
mode:
authorBenjamin Barenblat <bbaren@google.com>2022-01-31 16:58:42 -0500
committerBenjamin Barenblat <bbaren@google.com>2022-01-31 16:58:42 -0500
commit8bd0ae5f71bfbbe3509f644cba58157810b65269 (patch)
tree401d928708cef25c002d87ebc0a0fe2161274dba /absl/functional/function_ref_test.cc
parentab52b3b9670a5bb555c148d9d5638a1a7fa3e877 (diff)
downloadabseil-8bd0ae5f71bfbbe3509f644cba58157810b65269.tar.gz
abseil-8bd0ae5f71bfbbe3509f644cba58157810b65269.tar.bz2
abseil-8bd0ae5f71bfbbe3509f644cba58157810b65269.zip
Stop forcing -Wl,--as-needed on dependents
Commit 8081530e824c092d36b1ef7947783c5859eb8b61 added -Wl,--as-needed -latomic -Wl,--no-as-needed to ensure libatomic got linked on platforms that needed it (see https://bugs.debian.org/973492). However, this inadventantly added -Wl,--no-as-needed to dependents’ link lines when they built with CMake. Switch to -Wl,--push-state,--as-needed -latomic -Wl,--pop-state instead to ensure dependents’ link settings remain intact. As an added bonus, this removes -Wl,--as-needed from the Abseil build itself, allowing a bunch of libraries that don’t actually need libc to omit a libc dependency. Closes: https://bugs.debian.org/1001596
Diffstat (limited to 'absl/functional/function_ref_test.cc')
0 files changed, 0 insertions, 0 deletions