Link to libatomic on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
8bf2da86c2
commit
f9c74af102
|
@ -12,7 +12,7 @@
|
|||
Summary: Qt5 - QtDeclarative component
|
||||
Name: qt5-%{qt_module}
|
||||
Version: 5.15.8
|
||||
Release: 4%{?dist}
|
||||
Release: 4.0.riscv64%{?dist}
|
||||
|
||||
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
|
||||
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
@ -121,6 +121,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||
ln -s %{__python3} python
|
||||
export PATH=`pwd`:$PATH
|
||||
|
||||
|
||||
# riscv64
|
||||
# GCC 14 should fix that
|
||||
%ifarch riscv64
|
||||
export LDFLAGS="%{_qt5_ldflags} -latomic"
|
||||
%endif
|
||||
|
||||
%qmake_qt5
|
||||
|
||||
%make_build
|
||||
|
@ -235,6 +242,9 @@ make check -k -C tests ||:
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Mar 29 2023 David Abudrachmanov <davidlt@rivosinc.com> - 5.15.8-4.0.riscv64
|
||||
- Link to libatomic on riscv64
|
||||
|
||||
* Wed Mar 15 2023 Neal Gompa <ngompa@fedoraproject.org> - 5.15.8-4
|
||||
- Backport fix for crashes in V4 JIT (#2177696)
|
||||
|
||||
|
|
Loading…
Reference in New Issue