1diff -ur openssl-1.1.1g-orig/Configurations/10-main.conf openssl-1.1.1g/Configurations/10-main.conf 2--- openssl-1.1.1g-orig/Configurations/10-main.conf 2020-04-21 14:22:39.000000000 +0200 3+++ openssl-1.1.1g/Configurations/10-main.conf 2020-07-26 12:21:32.000000000 +0200 4@@ -1557,6 +1557,14 @@ 5 bn_ops => "SIXTY_FOUR_BIT_LONG", 6 perlasm_scheme => "macosx", 7 }, 8+ "darwin64-arm64-cc" => { 9+ inherit_from => [ "darwin-common", asm("aarch64_asm") ], 10+ CFLAGS => add("-Wall"), 11+ cflags => add("-arch arm64"), 12+ lib_cppflags => add("-DL_ENDIAN"), 13+ bn_ops => "SIXTY_FOUR_BIT_LONG", 14+ perlasm_scheme => "ios64", 15+ }, 16 17 ##### GNU Hurd 18 "hurd-x86" => { 19diff -ur openssl-1.1.1g-orig/config openssl-1.1.1g/config 20--- openssl-1.1.1g-orig/config 2020-04-21 14:22:39.000000000 +0200 21+++ openssl-1.1.1g/config 2020-07-26 12:21:59.000000000 +0200 22@@ -255,6 +255,9 @@ 23 ;; 24 x86_64) 25 echo "x86_64-apple-darwin${VERSION}" 26+ ;; 27+ arm64) 28+ echo "arm64-apple-darwin${VERSION}" 29 ;; 30 *) 31 echo "i686-apple-darwin${VERSION}" 32@@ -497,6 +500,9 @@ 33 else 34 OUT="darwin64-x86_64-cc" 35 fi ;; 36+ x86_64-apple-darwin*) 37+ OUT="darwin64-arm64-cc" 38+ ;; 39 armv6+7-*-iphoneos) 40 __CNF_CFLAGS="$__CNF_CFLAGS -arch armv6 -arch armv7" 41 __CNF_CXXFLAGS="$__CNF_CXXFLAGS -arch armv6 -arch armv7" 42