Actually comment out the cpuid asm!
[oweals/openssl.git] / util / mk1mf.pl
index dfe28964e143d175e3a0087e86b1daaca3bcb4f6..ed65a057f0fe3bc6bd445d727b2dd1f7eb38cac3 100755 (executable)
@@ -878,7 +878,8 @@ sub fix_asm
 if ($orig_platform eq 'copy') {
        $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');
@@ -1354,7 +1355,7 @@ sub do_copy_rule
                if ($n =~ /bss_file/)
                        { $pp=".c"; }
                else    { $pp=$p; }
-               $ret.="$to${o}$n$pp: \$(SRC_D)$o$_$pp $to\n\t\$(CP) \"\$(SRC_D)$o$_$pp\" \"$to${o}$n$pp\"\n\n";
+               $ret.="$to${o}$n$pp: \$(SRC_D)$o$_$pp $to\n\t\$(SRC_D)${o}util${o}copy-if-different.pl \"\$(SRC_D)$o$_$pp\" \"$to${o}$n$pp\"\n\n";
                }
        return($ret);
        }