packages: qt4/qt4.spec - fixed per-cpu mmx/sse defines list

qboosh qboosh at pld-linux.org
Thu Nov 11 09:54:13 CET 2010


Author: qboosh                       Date: Thu Nov 11 08:54:13 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed per-cpu mmx/sse defines list

---- Files affected:
packages/qt4:
   qt4.spec (1.274 -> 1.275) 

---- Diffs:

================================================================
Index: packages/qt4/qt4.spec
diff -u packages/qt4/qt4.spec:1.274 packages/qt4/qt4.spec:1.275
--- packages/qt4/qt4.spec:1.274	Wed Nov 10 13:52:55 2010
+++ packages/qt4/qt4.spec	Thu Nov 11 09:54:08 2010
@@ -31,34 +31,32 @@
 %bcond_without	pch		# disable pch in qmake
 %bcond_without	gtk		# don't build GTK theme integration
 %bcond_without	system_phonon	# don't build phonon libraries
-%bcond_with	mmx
-%bcond_with	3dnow
+%bcond_with	mmx		# use MMX instructions
+%bcond_with	3dnow		# use 3Dnow instructions
 %bcond_with	sse		# use SSE instructions in gui/painting module
 %bcond_with	sse2		# use SSE2 instructions
-%bcond_with	sse3
-%bcond_with	ssse3
-%bcond_with	sse41
-%bcond_with	sse42
-%bcond_with	avx
+%bcond_with	sse3		# use SSE3 instructions
+%bcond_with	ssse3		# use SSSE3 instructions
+%bcond_with	sse41		# use SSE4.1 instructions
+%bcond_with	sse42		# use SSE4.2 instructions
+%bcond_with	avx		# use AVX instructions (future x86 CPUs only)
 #
 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
 %undefine	with_ibase
 %endif
-%ifarch	i686
+%ifarch	athlon
+%define		with_3dnow	1
+%endif
+%ifarch athlon pentium3 pentium4 %{x8664}
 %define		with_mmx	1
 %endif
 %ifarch pentium3 pentium4 %{x8664}
-%define		with_mmx	1
 %define		with_sse	1
 %endif
 %ifarch pentium4 %{x8664}
-%define		with_mmx	1
 %define		with_sse2	1
 %endif
 %ifarch %{x8664}
-%define		with_mmx	1
-%define		with_sse	1
-%define		with_sse2	1
 %define		with_sse3	1
 %define		with_ssse3	1
 %define		with_sse41	1
@@ -2348,6 +2346,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.275  2010/11/11 08:54:08  qboosh
+- fixed per-cpu mmx/sse defines list
+
 Revision 1.274  2010/11/10 12:52:55  arekm
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/qt4/qt4.spec?r1=1.274&r2=1.275&f=u



More information about the pld-cvs-commit mailing list