diff options
author | Manuel Bentele | 2020-11-20 08:16:25 +0100 |
---|---|---|
committer | Manuel Bentele | 2020-11-20 08:16:25 +0100 |
commit | f00717d56cb3078d90fb096f7771d17b4fa19fb5 (patch) | |
tree | 0f96ebf6cef2a16edb9cdf34aba650f1965d74df /inc | |
parent | [KERNEL] Fix several connect/disconnect race conditions (diff) | |
download | dnbd3-f00717d56cb3078d90fb096f7771d17b4fa19fb5.tar.gz dnbd3-f00717d56cb3078d90fb096f7771d17b4fa19fb5.tar.xz dnbd3-f00717d56cb3078d90fb096f7771d17b4fa19fb5.zip |
[BUILD] add support for atomic operations not supported by hardware
This change links the dnbd3-server with 'libatomic' to add support for
atomic operations not supported by hardware (especially 32-bit hardware
architectures, such as ARM). Thus the dnbd3-server can also run on a
Raspberry Pi 1 running Rasperry Pi OS.
Note that the dnbd3-server is still linked to the libatomic, even if the
hardware supports atomic operations. In this case, the compiler resolves
atomic operations and replaces them automatically with specific built-in
functions. This unnecessary linkage can be removed in the future if the
GCC supports an upcoming option called automatic linking of libatomic
(--enable-autolink-libatomic).
Diffstat (limited to 'inc')
0 files changed, 0 insertions, 0 deletions