From 22e6c008ef14c8beec44921e4530d88823d1b2c7 Mon Sep 17 00:00:00 2001 From: doupengda Date: Fri, 3 Mar 2023 10:13:33 +0800 Subject: [PATCH] Support loongarch64 build --- qt5-qtscript.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/qt5-qtscript.spec b/qt5-qtscript.spec index c7a9176..bfacefd 100644 --- a/qt5-qtscript.spec +++ b/qt5-qtscript.spec @@ -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 - 5.15.2-2 +- Support loongarch64 build + * Wed Oct 13 2021 peijiankang - 5.15.2-1 - update to upstream version 5.15.2