Don't make CPUID stuff twice.
authorBen Laurie <ben@links.org>
Mon, 4 Mar 2013 16:10:47 +0000 (16:10 +0000)
committerBen Laurie <ben@links.org>
Mon, 4 Mar 2013 16:10:47 +0000 (16:10 +0000)
util/mk1mf.pl

index 2b1e915..24ee312 100755 (executable)
@@ -877,7 +877,8 @@ sub fix_asm
 
 $lib_obj{CRYPTO} .= fix_asm($mf_md5_asm, 'crypto/md5');
 $lib_obj{CRYPTO} .= fix_asm($mf_bn_asm, 'crypto/bn');
-$lib_obj{CRYPTO} .= fix_asm($mf_cpuid_asm, 'crypto');
+# cpuid is included by the crypto dir
+#$lib_obj{CRYPTO} .= fix_asm($mf_cpuid_asm, 'crypto');
 # AES asm files end up included by the aes dir itself
 #$lib_obj{CRYPTO} .= fix_asm($mf_aes_asm, 'crypto/aes');
 $lib_obj{CRYPTO} .= fix_asm($mf_sha_asm, 'crypto/sha');