diff --git a/qt5-qtdeclarative.spec b/qt5-qtdeclarative.spec index aecac0cd3df92ffcf34dab450983c97215647a29..c6314eea4c0ac8306a6400312e7f4b57b233fa2f 100644 --- a/qt5-qtdeclarative.spec +++ b/qt5-qtdeclarative.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %define _lto_cflags %{nil} %global majmin %(echo %{version} | cut -d. -f1-2) @@ -83,6 +83,9 @@ The %{name}-examples provides Programming examples for %{name}. %autosetup -n %{qt_module}-everywhere-src-%{version} -p1 %build +%ifarch riscv64 +export LDFLAGS="%{_qt5_ldflags} -pthread" +%endif ln -s %{__python3} python export PATH=`pwd`:$PATH %qmake_qt5 @@ -176,6 +179,9 @@ make check -k -C tests ||: %endif %changelog +* Thu Nov 9 2023 Guoguo - 5.15.11-2 +- Add support for riscv64 + * Wed Oct 18 2023 Funda Wang - 5.15.11-1 - New version 5.15.11