packages: xz/xz.spec - asmopt is for 32bit intel only (thx sparky)

glen glen at pld-linux.org
Wed Jun 2 18:28:14 CEST 2010


Author: glen                         Date: Wed Jun  2 16:28:14 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- asmopt is for 32bit intel only (thx sparky)

---- Files affected:
packages/xz:
   xz.spec (1.58 -> 1.59) 

---- Diffs:

================================================================
Index: packages/xz/xz.spec
diff -u packages/xz/xz.spec:1.58 packages/xz/xz.spec:1.59
--- packages/xz/xz.spec:1.58	Wed Jun  2 18:15:46 2010
+++ packages/xz/xz.spec	Wed Jun  2 18:28:09 2010
@@ -2,7 +2,14 @@
 #
 # Conditional build:
 %bcond_without	tests	# don't perform make check
-%bcond_without	asm		# asm optimizations
+%bcond_without	asm		# ix86 asm optimizations
+
+%ifnarch %{ix86}
+# Speed-optimized CRC64 using slicing-by-four algorithm. This uses only i386
+# instructions, but it is optimized for i686 and later (including e.g. Pentium
+# II/III/IV, Athlon XP, and Core 2).
+%undefine	with_asm
+%endif
 
 %if "%{pld_release}" == "ac"
 %undefine	with_asm
@@ -174,6 +181,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59  2010/06/02 16:28:09  glen
+- asmopt is for 32bit intel only (thx sparky)
+
 Revision 1.58  2010/06/02 16:15:46  glen
 - disable asm on ac (too old gcc)
   http://mail-index.netbsd.org/pkgsrc-changes/2009/12/14/msg033618.html
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xz/xz.spec?r1=1.58&r2=1.59&f=u



More information about the pld-cvs-commit mailing list