[openssl-commits] [openssl] master update

Andy Polyakov appro at openssl.org
Sat May 5 18:59:47 UTC 2018


The branch master has been updated
       via  717f308e7624233e2ad18fba62558a421dfda83d (commit)
      from  41d6e0f36e43a2b6f555977147e05f0fdec87f56 (commit)


- Log -----------------------------------------------------------------
commit 717f308e7624233e2ad18fba62558a421dfda83d
Author: Todd Short <tshort at akamai.com>
Date:   Thu May 3 11:17:49 2018 -0400

    Configure: fix Mac OS X builds that still require makedepend
    
    Earlier Apple Xcode compilers, e.g. one targeting Mac OS X 10.7, don't
    support dependency generation and one still has to use makedepend.  It's
    unclear when it was fixed, but all clang-based Apple compilers seem to
    support -M options.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    Reviewed-by: Andy Polyakov <appro at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/6169)

-----------------------------------------------------------------------

Summary of changes:
 Configure | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Configure b/Configure
index 6650703..62c354a 100755
--- a/Configure
+++ b/Configure
@@ -1415,9 +1415,11 @@ if (!$disabled{makedepend}) {
         # For VC- and vms- targets, there's nothing more to do here.  The
         # functionality is hard coded in the corresponding build files for
         # cl (Windows) and CC/DECC (VMS).
-    } elsif ($predefined{__GNUC__} >= 3) {
+    } elsif (($predefined{__GNUC__} // -1) >= 3
+	     && !($predefined{__APPLE_CC__} && !$predefined{__clang__})) {
         # We know that GNU C version 3 and up as well as all clang
-        # versions support dependency generation
+        # versions support dependency generation, but Xcode did not
+        # handle $cc -M before clang support (but claims __GNUC__ = 3)
         $config{makedepprog} = "\$(CROSS_COMPILE)$config{CC}";
     } else {
         # In all other cases, we look for 'makedepend', and disable the


More information about the openssl-commits mailing list