提交 46d4d865 编写于 作者: A Andy Polyakov

Configure: restore original logic for -DWHIRLPOOL_ASM.

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 8ab31975
......@@ -1052,10 +1052,12 @@ if (!$no_asm) {
$config{cflags}.=" -DVPAES_ASM" if ($target{aes_obj} =~ m/vpaes/);
$config{cflags}.=" -DBSAES_ASM" if ($target{aes_obj} =~ m/bsaes/);
}
if ($target{wp_obj} =~ /mmx/ && $config{processor} eq "386") {
$target{wp_obj}=$table{BASE}->{wp_obj};
} elsif (!$disabled{"whirlpool"}) {
$config{cflags}.=" -DWHIRLPOOL_ASM";
if ($target{wp_obj} =~ /mmx/) {
if ($config{processor} eq "386") {
$target{wp_obj}=$table{BASE}->{wp_obj};
} elsif (!$disabled{"whirlpool"}) {
$config{cflags}.=" -DWHIRLPOOL_ASM";
}
}
if ($target{modes_obj} =~ /ghash-/) {
$config{cflags}.=" -DGHASH_ASM";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册