提交 8ed40b83 编写于 作者: R Richard Levitte

Fix check of what makedepprog should be

A mistake was made and the setting of this config variable got
reverted to an older behavior.  This restores the latest.
Reviewed-by: NEmilia Käsper <emilia@openssl.org>
上级 920ed8c8
......@@ -1142,10 +1142,11 @@ if (!$no_asm) {
}
}
$config{makedepprog} = "makedepend";
if ($target{cc} eq "gcc" || ($target{cc} eq 'cc' && $config{target} =~ /darwin/)) {
$config{makedepprog} = $target{cc};
}
my $ecc = $target{cc};
$ecc = "clang" if `$target{cc} --version 2>&1` =~ /clang/;
$config{makedepprog} =
$ecc eq "gcc" || $ecc eq "clang" ? $target{cc} : "makedepend";
$config{depflags} =~ s/^\s*//;
......@@ -1216,9 +1217,6 @@ if (defined($config{api})) {
$config{cflags} .= " $apiflag";
}
my $ecc = $target{cc};
$ecc = "clang" if `$target{cc} --version 2>&1` =~ /clang/;
if ($strict_warnings)
{
my $wopt;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册