提交 4277cf90 编写于 作者: R Richard Levitte

Get conditional priorities right

"or" has lower priority than "||" and works better to have Perl less
confused.
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 f9c693df
...@@ -1053,7 +1053,7 @@ if (!$no_asm) { ...@@ -1053,7 +1053,7 @@ if (!$no_asm) {
$target{cpuid_asm_src}=$table{BASE}->{cpuid_asm_src} if ($config{processor} eq "386"); $target{cpuid_asm_src}=$table{BASE}->{cpuid_asm_src} if ($config{processor} eq "386");
$target{cpuid_asm_src}.=" uplink.c uplink-x86.s" $target{cpuid_asm_src}.=" uplink.c uplink-x86.s"
if (grep { $_ eq "OPENSSL_USE_APPLINK"} @{$config{defines}} if (grep { $_ eq "OPENSSL_USE_APPLINK"} @{$config{defines}}
|| $config{cflags} =~ /(?:^|\s)-DOPENSSL_USE_APPLINK(?:\s|$)/); or $config{cflags} =~ /(?:^|\s)-DOPENSSL_USE_APPLINK(?:\s|$)/);
$target{bn_asm_src} =~ s/\w+-gf2m.c// if (defined($disabled{ec2m})); $target{bn_asm_src} =~ s/\w+-gf2m.c// if (defined($disabled{ec2m}));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册