Link to libatomic on RISC-V
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
parent
a03de2e28b
commit
24e534e4a0
|
@ -8,7 +8,7 @@
|
||||||
Summary: Qt5 - QtDeclarative component
|
Summary: Qt5 - QtDeclarative component
|
||||||
Name: qt5-%{qt_module}
|
Name: qt5-%{qt_module}
|
||||||
Version: 5.12.4
|
Version: 5.12.4
|
||||||
Release: 3%{?dist}
|
Release: 3.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
|
||||||
|
@ -85,6 +85,11 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
ln -s %{__python3} python
|
ln -s %{__python3} python
|
||||||
export PATH=`pwd`:$PATH
|
export PATH=`pwd`:$PATH
|
||||||
|
|
||||||
|
# riscv64
|
||||||
|
%ifarch riscv64
|
||||||
|
export LDFLAGS="%{_qt5_ldflags} -latomic"
|
||||||
|
%endif
|
||||||
|
|
||||||
%qmake_qt5
|
%qmake_qt5
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
|
@ -191,6 +196,9 @@ make check -k -C tests ||:
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.12.4-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue