From: C.W. Betts Date: Wed, 5 Aug 2020 08:08:07 +0000 (-0600) Subject: Initial Apple Silicon support. X-Git-Tag: openssl-3.0.0-alpha7~616 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23f04372f45f8c9e3865c3bcfee3f77a9cc10673;p=thirdparty%2Fopenssl.git Initial Apple Silicon support. Reviewed-by: Paul Dale Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/12591) --- diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index fc9f3bbea63..d7580bf3e10 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1615,6 +1615,16 @@ my %targets = ( asm_arch => 'x86_64', perlasm_scheme => "macosx", }, + "darwin64-arm64-cc" => { inherit_from => [ "darwin64-arm64" ] }, # "Historic" alias + "darwin64-arm64" => { + inherit_from => [ "darwin-common" ], + CFLAGS => add("-Wall"), + cflags => add("-arch arm64"), + lib_cppflags => add("-DL_ENDIAN"), + bn_ops => "SIXTY_FOUR_BIT_LONG", + asm_arch => 'aarch64_asm', + perlasm_scheme => "ios64", + }, ##### GNU Hurd "hurd-x86" => {