Don't set OPENSSL_IA32_SSE2 on x86_64.
authorAndy Polyakov <appro@openssl.org>
Tue, 24 Jul 2007 14:40:26 +0000 (14:40 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 24 Jul 2007 14:40:26 +0000 (14:40 +0000)
Configure

index d77fe11d0c611e88cb194a3b9817babb27aacb36..36f927a38ddb44fd1d45513b6664d494d64fbb96 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1199,7 +1199,7 @@ if ($sha1_obj =~ /\.o$/)
        $cflags.=" -DSHA1_ASM"   if ($sha1_obj =~ /sx86/ || $sha1_obj =~ /sha1/);
        $cflags.=" -DSHA256_ASM" if ($sha1_obj =~ /sha256/);
        $cflags.=" -DSHA512_ASM" if ($sha1_obj =~ /sha512/);
-       if ($sha1_obj =~ /x86/)
+       if ($sha1_obj =~ /sse2/)
            {   if ($no_sse2)
                {   $sha1_obj =~ s/\S*sse2\S+//;        }
                elsif ($cflags !~ /OPENSSL_IA32_SSE2/)