Compare commits

...

1 Commits

Author SHA1 Message Date
David Abdurachmanov 24e534e4a0
Link to libatomic on RISC-V
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-08-13 13:20:58 -07:00
1 changed files with 9 additions and 1 deletions

View File

@ -8,7 +8,7 @@
Summary: Qt5 - QtDeclarative component
Name: qt5-%{qt_module}
Version: 5.12.4
Release: 3%{?dist}
Release: 3.0.riscv64%{?dist}
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -85,6 +85,11 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
ln -s %{__python3} python
export PATH=`pwd`:$PATH
# riscv64
%ifarch riscv64
export LDFLAGS="%{_qt5_ldflags} -latomic"
%endif
%qmake_qt5
%make_build
@ -191,6 +196,9 @@ make check -k -C tests ||:
%changelog
* Tue Aug 13 2019 David Abdurachmanov <david.abdurachmanov@sifive.com> - 5.12.4-3.0.riscv64
- Link to libatomic on RISC-V
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.12.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild