Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-18 | build: Check for std::atomic::exchange rather than std::atomic_exchange | Andrew Chow | |
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. | |||
2021-05-11 | build: improve macro for testing -latomic requirement | MarcoFalke | |
2021-01-15 | build: improve macro for testing -latomic requirement | fanquake | |
riscv builds are currently failing because -latomic isn't being linked against, when it is needed: ```bash /home/ubuntu/build/bitcoin/distsrc-riscv64-linux-gnu/src/bitcoin-util.cpp:98: undefined reference to `__atomic_exchange_1' ``` This exteneds our macro to ensure that -latomic is linked against when required. | |||
2016-09-21 | Add MIT license to build-aux/m4 scripts | Luke Dashjr | |
2016-09-21 | Trivial: build-aux/m4/l_atomic: Fix typo | Luke Dashjr | |
2016-08-23 | Add configure check for -latomic | Anthony Towns | |