Skip to content

build: Fix check whether `-latomic` needed

Clang >=15 still might need linking against libatomic.

We use std::atomic<std::chrono::seconds>::compare_exchange_strong in net_processing.cpp.

Addresses the https://github.com/bitcoin/bitcoin/pull/29165#discussion_r1440293694.

Merge request reports

Loading