bitcoin/build-aux/m4
Andrew Chow 4de4221ab4 build: Check for std::atomic::exchange rather than std::atomic_exchange
Our usage of std::atomic is with it's own exchange function, not
std::atomic_exchange. So we should be looking specifically for that
function.

Additionally, -pthread and -lpthread have an effect on whether -latomic
will be needed, so the atomics check needs to use these flags as well.
This will make the flags in use better match what is actually used when
linking.

This removes the need for -latomic for riscv builds, which resolves a
guix cross architecture reproducibility issue.
2022-07-18 10:47:19 -04:00
..
ax_boost_base.m4 build: Add /opt/homebrew to path to look for boost libraries 2021-02-19 01:37:31 +00:00
ax_check_compile_flag.m4 build: AX_CHECK_COMPILE_FLAG() serial 6 2021-11-12 10:01:59 +08:00
ax_check_link_flag.m4 build: AX_CHECK_LINK_FLAG serial 6 2021-11-12 10:01:59 +08:00
ax_check_preproc_flag.m4 build: AX_CHECK_PREPROC_FLAG() serial 6 2021-11-12 10:01:59 +08:00
ax_cxx_compile_stdcxx.m4 build: update ax_cxx_compile_stdcxx to serial 14 2022-03-02 13:18:47 +01:00
ax_pthread.m4 build: Bump AX_PTHREAD macro to the latest version 2021-12-07 12:55:39 +02:00
bitcoin_find_bdb48.m4 build: Drop redundant AC_SUBST macros 2021-12-29 23:14:45 +02:00
bitcoin_qt.m4 build: stop overriding user CXXFLAGS 2022-04-03 19:36:17 +01:00
bitcoin_runtime_lib.m4 build: Fix undefined reference to __mulodi4 2021-07-27 14:53:24 +03:00
bitcoin_subdir_to_include.m4 build: remove x-prefix comparisons 2021-12-03 21:03:35 +08:00
l_atomic.m4 build: Check for std::atomic::exchange rather than std::atomic_exchange 2022-07-18 10:47:19 -04:00
l_filesystem.m4 build: add support for std::filesystem 2022-02-03 18:35:41 +08:00
l_socket.m4 build: check if -lsocket is required with *ifaddrs 2021-03-29 11:09:40 +08:00