diff --git a/qt5-qtdeclarative.spec b/qt5-qtdeclarative.spec index 2e9baee..c5aaad1 100644 --- a/qt5-qtdeclarative.spec +++ b/qt5-qtdeclarative.spec @@ -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 - 5.15.8-4.0.riscv64 +- Link to libatomic on riscv64 + * Wed Mar 15 2023 Neal Gompa - 5.15.8-4 - Backport fix for crashes in V4 JIT (#2177696)