[openssl] master update

Tim Hudson tjh at openssl.org
Tue Dec 1 22:52:40 UTC 2020


The branch master has been updated
       via  8758f4e6256d46867bda2dcdd5cf18dd037aaf8c (commit)
      from  9ab9b16bb795f1081e86f11e16a1606790231400 (commit)


- Log -----------------------------------------------------------------
commit 8758f4e6256d46867bda2dcdd5cf18dd037aaf8c
Author: Tim Hudson <tjh at cryptsoft.com>
Date:   Thu Nov 26 12:31:25 2020 +1000

    Correct system guessing for darwin64-arm64 target
    
    Previously the system guessing logic would incorrectly guess
    i686-apple-darwin as the fallback for any unspecified architecture
    that is a Darwin target
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/13517)

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

Summary of changes:
 util/perl/OpenSSL/config.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/util/perl/OpenSSL/config.pm b/util/perl/OpenSSL/config.pm
index fb9c5ca11b..776e448df4 100755
--- a/util/perl/OpenSSL/config.pm
+++ b/util/perl/OpenSSL/config.pm
@@ -140,8 +140,7 @@ my $guess_patterns = [
     [ 'Paragon.*?:.*',              'i860-intel-osf1' ],
     [ 'Rhapsody:.*',                'ppc-apple-rhapsody' ],
     [ 'Darwin:.*?:.*?:Power.*',     'ppc-apple-darwin' ],
-    [ 'Darwin:.*?:.*?:x86_64',      'x86_64-apple-darwin' ],
-    [ 'Darwin:.*',                  'i686-apple-darwin' ],
+    [ 'Darwin:.*',                  '${MACHINE}-apple-darwin' ],
     [ 'SunOS:5\..*',                '${MACHINE}-whatever-solaris2' ],
     [ 'SunOS:.*',                   '${MACHINE}-sun-sunos4' ],
     [ 'UNIX_System_V:4\..*?:.*',    '${MACHINE}-whatever-sysv4' ],
@@ -483,6 +482,7 @@ EOF
             return { target => "darwin64-x86_64" };
         }
       ],
+      [ 'arm64-apple-darwin.*', { target => "darwin64-arm64" } ],
       [ 'armv6\+7-.*-iphoneos',
         { target => "iphoneos-cross",
           cflags => [ qw(-arch armv6 -arch armv7) ],


More information about the openssl-commits mailing list