build: improve macro for testing -latomic requirement

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.

情報元 - build: improve macro for testing -latomic requirement · bitcoin/[email protected] · GitHub

build: improve macro for testing -latomic requirement · bitcoin/bitcoin@54ce4fa · GitHub
スポンサーリンク

シェアする

フォローする

スポンサーリンク

トップへ戻る