diff options
author | Andy Polyakov <appro@openssl.org> | 2016-09-10 21:12:56 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2016-09-13 14:04:21 +0200 |
commit | 1556abd0438eeba0160fb5a1fe8c552ed8a63d7e (patch) | |
tree | 67d166eb51904d097fa8f8810cc8ba6473f991ef /Configure | |
parent | ce7d2e152e721643bd93e331d627a4576521d058 (diff) |
Configure: detect gcc's dependency generation capability more accurately.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 35c11bfc69e6b90fd1c4c4ca6ad3f500584ca939)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1181,7 +1181,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--); |