CMake: Link with -latomic 98/25098/2 10.91.0 10.92.0 10.93.0 11.91.0 11.92.0 12.90.0 koi/10.91.0 koi/10.92.0 koi/10.93.0 koi_10.91.0 koi_10.92.0 koi_10.93.0 lamprey/11.91.0 lamprey/11.92.0 lamprey_11.91.0 lamprey_11.92.0 marlin/12.90.0 marlin_12.90.0
authorAlistair Francis <alistair.francis@wdc.com>
Tue, 11 Aug 2020 17:13:37 +0000 (10:13 -0700)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 30 Sep 2020 11:50:40 +0000 (11:50 +0000)
commit9a8aea1b682f522d7b278312b9bd85ed12fab820
treead7fee873dbe335a9365d3bcd8b659309f3690ed
parent1b6249810b3ab2d0c7467355fa22fbf19ae4a725
CMake: Link with -latomic

Some architecutres (such as RISC-V) require that atomics be specifically
linked to avoid build failures. Ensure that this is the case.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Change-Id: Iad543232a6547b197f04100e996e6200c9f803ce
CMakeLists.txt
src/CMakeLists.txt