mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 03:22:47 +01:00
partial bitcoin#20938: fix linking against -latomic when building for riscv
includes: - 54ce4fac80689621dcbcc76169b2b00b179ee743
This commit is contained in:
parent
972b4198d7
commit
78db324970
@ -14,6 +14,9 @@ m4_define([_CHECK_ATOMIC_testbody], [[
|
||||
#include <cstdint>
|
||||
|
||||
int main() {
|
||||
std::atomic<bool> lock{true};
|
||||
std::atomic_exchange(&lock, false);
|
||||
|
||||
std::atomic<int64_t> a{};
|
||||
|
||||
int64_t v = 5;
|
||||
|
Loading…
Reference in New Issue
Block a user