Initial Apple Silicon support.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12591)
This commit is contained in:
C.W. Betts 2020-08-05 02:08:07 -06:00 committed by Matt Caswell
parent c23add3676
commit 23f04372f4

View File

@ -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" => {