Enable ARM64 assembler on Apple Silicon

https://github.com/openssl/openssl/pull/12369
This commit is contained in:
Davide De Rosa 2020-11-11 23:16:09 +01:00
parent 1cf972d36f
commit 029e8ddeee
1 changed files with 3 additions and 3 deletions

View File

@ -77,12 +77,12 @@ my %targets = ();
# Base (arm64) # Base (arm64)
"darwin64-arm64-cc" => { "darwin64-arm64-cc" => {
inherit_from => [ "darwin-common" ], inherit_from => [ "darwin-common", asm("aarch64_asm") ],
CFLAGS => add("-Wall"), CFLAGS => add("-Wall"),
cflags => add("-arch arm64"), cflags => add("-arch arm64"),
lib_cppflags => add("-DL_ENDIAN"), lib_cppflags => add("-DL_ENDIAN"),
bn_ops => "SIXTY_FOUR_BIT_LONG", bn_ops => "SIXTY_FOUR_BIT_LONG",
perlasm_scheme => "macosx", perlasm_scheme => "ios64",
}, },
# Device (x86_64) # Device (x86_64)