diff --git a/mozilla/security/nss/lib/freebl/mpi/mpcpucache.c b/mozilla/security/nss/lib/freebl/mpi/mpcpucache.c index 2ad291fab..a1fdedcbd 100644 --- a/mozilla/security/nss/lib/freebl/mpi/mpcpucache.c +++ b/mozilla/security/nss/lib/freebl/mpi/mpcpucache.c @@ -704,7 +704,11 @@ s_mpi_getProcessorLineSize() #define MPI_GET_PROCESSOR_LINE_SIZE_DEFINED 1 #endif -#if defined(__ppc64__) +/* + * Build of this code is broken on ppc64le. + * Btw, clang defines __ppc64__ preprocessor macro, but gcc doesn't. + */ +#if defined(__ppc64__) && defined(__BIG_ENDIAN__) /* * Sigh, The PPC has some really nice features to help us determine cache * size, since it had lots of direct control functions to do so. The POWER