diff options
author | fanquake <fanquake@gmail.com> | 2021-01-15 10:54:07 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-01-15 10:54:07 +0800 |
commit | 54ce4fac80689621dcbcc76169b2b00b179ee743 (patch) | |
tree | be6b3f7af5d5eb22d4141cd54a8157c449ed5b5b /src/bitcoin-util.cpp | |
parent | 2c010b9c56f069efad2b2c10bffaef4ed059736e (diff) |
build: improve macro for testing -latomic requirement
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.
Diffstat (limited to 'src/bitcoin-util.cpp')
0 files changed, 0 insertions, 0 deletions