Link to libatomic
[..] gmake[2]: Leaving directory '/builddir/build/BUILD/indi-2.0.0/redhat-linux-build' [ 22%] Built target AlignmentClient /usr/bin/ld: ../../libs/indiclient/libindiclient.so.2.0.0: undefined reference to `__atomic_exchange_1' [..] Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
43dae377c5
commit
90fb0ff396
|
@ -12,7 +12,7 @@
|
|||
|
||||
Name: libindi
|
||||
Version: 2.0.0
|
||||
Release: %autorelease
|
||||
Release: %autorelease -e 0.riscv64
|
||||
Summary: Instrument Neutral Distributed Interface
|
||||
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later and BSD-3-Clause
|
||||
|
@ -102,6 +102,8 @@ chmod -x drivers/telescope/pmc8driver.cpp
|
|||
%build
|
||||
%cmake \
|
||||
-DINDI_BUILD_QT5_CLIENT="%{qt5_client}" \
|
||||
-DCMAKE_C_LINK_FLAGS="%{build_ldflags} -latomic" \
|
||||
-DCMAKE_CXX_LINK_FLAGS="%{build_ldflags} -latomic" \
|
||||
-DINDI_BUILD_UNITTESTS="%{tests}" \
|
||||
-DINDI_BUILD_WEBSOCKET="%{websocket}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue