]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Configure: detect gcc's dependency generation capability more accurately.
authorAndy Polyakov <appro@openssl.org>
Sat, 10 Sep 2016 19:12:56 +0000 (21:12 +0200)
committerAndy Polyakov <appro@openssl.org>
Tue, 13 Sep 2016 12:04:21 +0000 (14:04 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 35c11bfc69e6b90fd1c4c4ca6ad3f500584ca939)

Configure

index 4be1f33e534c29353d142f8e414d8aa7913802d2..9c183daaeb70e580b0411006863e6c960a8dd61d 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -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--);