From 5c4bddac1b384a2117dc30a6120b1482b152e353 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 2 Jun 2010 16:28:09 +0000 Subject: [PATCH] - asmopt is for 32bit intel only (thx sparky) Changed files: xz.spec -> 1.59 --- xz.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/xz.spec b/xz.spec index 9305f23..5ed4291 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,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 -- 2.44.0