summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2016-09-10 21:12:56 +0200
committerAndy Polyakov <appro@openssl.org>2016-09-13 14:03:36 +0200
commit35c11bfc69e6b90fd1c4c4ca6ad3f500584ca939 (patch)
tree5f2356abdd5a0491571401fccb2eef97f031d4b2
parentcc2cb7bf63c62aaebd387f546a2fd673f367d9a8 (diff)
Configure: detect gcc's dependency generation capability more accurately.
Reviewed-by: Rich Salz <rsalz@openssl.org>
-rwxr-xr-xConfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configure b/Configure
index f4a44cb7b4..36734d3bad 100755
--- a/Configure
+++ b/Configure
@@ -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--);