!10 Support loongarch64 build

From: @dpdwaj 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
This commit is contained in:
openeuler-ci-bot 2023-04-10 01:02:27 +00:00 committed by Gitee
commit d697a92557
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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