--- inst/include/absl/random/internal/platform.h 2023-10-02 03:46:17.000000000 +0800 +++ inst/include/absl/random/internal/platform.h 2023-10-02 03:50:51.000000000 +0800 @@ -67,8 +67,8 @@ #define ABSL_ARCH_AARCH64 #elif defined(__arm__) || defined(__ARMEL__) || defined(_M_ARM) #define ABSL_ARCH_ARM -#elif defined(__powerpc64__) || defined(__PPC64__) || defined(__powerpc__) || \ - defined(__ppc__) || defined(__PPC__) +#elif defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__) || \ + defined(__powerpc__) || defined(__ppc__) || defined(__PPC__) || defined(__POWERPC__) #define ABSL_ARCH_PPC #else // Unsupported architecture. @@ -105,9 +105,9 @@ #elif defined(ABSL_ARCH_PPC) -// Rely on VSX and CRYPTO extensions for vcipher on PowerPC. -#if (defined(__VEC__) || defined(__ALTIVEC__)) && defined(__VSX__) && \ - defined(__CRYPTO__) +// Rely on VSX and CRYPTO extensions for vcipher on PowerPC, but not on Darwin. +#if ((defined(__VEC__) || defined(__ALTIVEC__)) && defined(__VSX__) && \ + defined(__CRYPTO__)) && !defined(__APPLE__) #undef ABSL_HAVE_ACCELERATED_AES #define ABSL_HAVE_ACCELERATED_AES 1 #endif