From 23f04372f45f8c9e3865c3bcfee3f77a9cc10673 Mon Sep 17 00:00:00 2001 From: "C.W. Betts" Date: Wed, 5 Aug 2020 02:08:07 -0600 Subject: [PATCH] Initial Apple Silicon support. Reviewed-by: Paul Dale Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/12591) --- Configurations/10-main.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) 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" => { -- 2.47.2