summaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorC.W. Betts <computers57@hotmail.com>2020-08-05 02:08:07 -0600
committerMatt Caswell <matt@openssl.org>2020-08-10 09:17:02 +0100
commit23f04372f45f8c9e3865c3bcfee3f77a9cc10673 (patch)
treed2c4b1e3b7b39dfa1ead10f89b0141cdd5dc9934 /Configurations
parentc23add3676634ced6662929d60f266a9f5062e7b (diff)
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)
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/10-main.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index fc9f3bbea6..d7580bf3e1 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" => {