[packages/qt5-qtdeclarative] jit requires sse2 so enable it only on supported archs; rel 2

atler atler at pld-linux.org
Thu Dec 26 19:31:38 CET 2019


commit 6b264034e30c4c33c8b87f3be0eb87c0a3ace1e1
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Dec 26 19:30:22 2019 +0100

    jit requires sse2 so enable it only on supported archs; rel 2

 qt5-qtdeclarative.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/qt5-qtdeclarative.spec b/qt5-qtdeclarative.spec
index 024784f..778c654 100644
--- a/qt5-qtdeclarative.spec
+++ b/qt5-qtdeclarative.spec
@@ -3,7 +3,7 @@
 %bcond_with	bootstrap	# disable features to able to build without installed qt5
 # -- build targets
 %bcond_without	doc		# Documentation
-%bcond_without	jit		# QML just-in-time compiler
+%bcond_with	jit		# QML just-in-time compiler
 %bcond_without	qm		# QM translations
 
 %if %{with bootstrap}
@@ -11,8 +11,9 @@
 %undefine	with_qm
 %endif
 
-%ifarch x32
-%undefine	with_jit
+# requires sse2
+%ifarch pentium4 %{x8664}
+%define		with_jit	1
 %endif
 
 %define		orgname		qtdeclarative
@@ -22,7 +23,7 @@ Summary:	The Qt5 Declarative libraries
 Summary(pl.UTF-8):	Biblioteki Qt5 Declarative
 Name:		qt5-%{orgname}
 Version:	5.14.0
-Release:	1
+Release:	2
 License:	LGPL v2.1 with Digia Qt LGPL Exception v1.1 or GPL v3.0
 Group:		X11/Libraries
 Source0:	http://download.qt.io/official_releases/qt/5.14/%{version}/submodules/%{orgname}-everywhere-src-%{version}.tar.xz
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtdeclarative.git/commitdiff/6b264034e30c4c33c8b87f3be0eb87c0a3ace1e1



More information about the pld-cvs-commit mailing list