提交 35c11bfc 编写于 作者: A Andy Polyakov

Configure: detect gcc's dependency generation capability more accurately.

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 cc2cb7bf
......@@ -1198,7 +1198,7 @@ if ($^O ne "VMS" && !$disabled{makedepend}) {
# We know that GNU C version 3 and up as well as all clang
# versions support dependency generation
$config{makedepprog} = $ccpcc
if (/clang/ || (/gcc/ && $compiler_major > 3));
if (/clang/ || (/gcc/ && $compiler_major >= 3));
$ecc = "clang" if /clang/;
$ecc = "gcc" if /gcc/;
last if ($config{makedepprog} || !$lines--);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册