Support loongarch64 build

This commit is contained in:
doupengda 2023-03-03 10:13:33 +08:00
parent 31e2358255
commit 22e6c008ef

View File

@ -4,11 +4,15 @@
%endif
%endif
%ifarch loongarch64
%define debug_package %{nil}
%endif
%global qt_module qtscript
Name: qt5-%{qt_module}
Version: 5.15.2
Release: 1
Release: 2
Summary: QtScript component for qt5
License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://www.qt.io
@ -57,6 +61,9 @@ Examples files for %{name}
%build
%ifarch loongarch64
export CXXFLAGS="${CXXFLAGS} -fpermissive"
%endif
%qmake_qt5
%make_build
@ -110,6 +117,9 @@ fi
%changelog
* Fri Mar 3 2023 doupengda <doupengda@loongson.cn> - 5.15.2-2
- Support loongarch64 build
* Wed Oct 13 2021 peijiankang <peijiankang@kylinos.cn> - 5.15.2-1
- update to upstream version 5.15.2