diff --git a/qt5-qtdeclarative.spec b/qt5-qtdeclarative.spec index b9acfa75762cd2e578d72c6ecada5e8a4536fcbe..14486955a293bf5e3abb0f056657b4e97137d715 100644 --- a/qt5-qtdeclarative.spec +++ b/qt5-qtdeclarative.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 %define _lto_cflags %{nil} %define majmin 5.15 @@ -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 @@ -177,6 +180,9 @@ make check -k -C tests ||: %changelog %changelog +* Sun Apr 27 2025 Shangtong Guo - 5.15.11-3 +- add support for riscv64 build + * Mon Dec 25 2023 happy_orange - 5.15.11-2 - fix the source and url error