Link to libatomic on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
eb2f4bd1df
commit
559aaaa100
|
@ -12,7 +12,7 @@
|
||||||
Summary: Qt5 - QtDeclarative component
|
Summary: Qt5 - QtDeclarative component
|
||||||
Name: qt5-%{qt_module}
|
Name: qt5-%{qt_module}
|
||||||
Version: 5.15.6
|
Version: 5.15.6
|
||||||
Release: 1%{?dist}
|
Release: 1.0.riscv64%{?dist}
|
||||||
|
|
||||||
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
|
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
|
||||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||||
|
@ -116,6 +116,12 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
ln -s %{__python3} python
|
ln -s %{__python3} python
|
||||||
export PATH=`pwd`:$PATH
|
export PATH=`pwd`:$PATH
|
||||||
|
|
||||||
|
# riscv64
|
||||||
|
# GCC 13 should fix that
|
||||||
|
%ifarch riscv64
|
||||||
|
export LDFLAGS="%{_qt5_ldflags} -latomic"
|
||||||
|
%endif
|
||||||
|
|
||||||
%qmake_qt5
|
%qmake_qt5
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
|
@ -230,6 +236,9 @@ make check -k -C tests ||:
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 10 2022 David Abdurachmanov <davidlt@rivosinc.com> - 5.15.6-1.0.riscv64
|
||||||
|
- Link to libatomic on risv64
|
||||||
|
|
||||||
* Tue Sep 20 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.6-1
|
* Tue Sep 20 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.6-1
|
||||||
- 5.15.6
|
- 5.15.6
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue