diff --git a/include/openssl/cpu.h b/include/openssl/cpu.h index bda5347aea..19e11d0486 100644 --- a/include/openssl/cpu.h +++ b/include/openssl/cpu.h @@ -95,6 +95,11 @@ extern uint32_t OPENSSL_ia32cap_P[4]; #if defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64) +#if defined(OPENSSL_APPLE) +/* iOS builds use the static ARM configuration. */ +#define OPENSSL_STATIC_ARMCAP +#endif + #if !defined(OPENSSL_STATIC_ARMCAP) /* CRYPTO_is_NEON_capable returns true if the current CPU has a NEON unit. Note