work around a build failure with clang on ppc64el
authorCarsten Schoenert <c.schoenert@t-online.de>
Sat, 5 Oct 2019 13:34:16 +0000 (15:34 +0200)
committerCarsten Schoenert <c.schoenert@t-online.de>
Wed, 8 Feb 2023 17:34:59 +0000 (17:34 +0000)
Author: Olivier Tilloy <olivier.tilloy@canonical.com>
Bug: https://bugzilla.mozilla.org/1555531

Gbp-Pq: Topic porting-ppc64el
Gbp-Pq: Name work-around-a-build-failure-with-clang-on-ppc64el.patch

security/nss/lib/freebl/mpi/mpcpucache.c

index f09ff3446970d286e67ff36388bfec873b7e6020..225edf2ed00cb5fdc0d2c74cd9971699e96efc45 100644 (file)
@@ -705,7 +705,7 @@ s_mpi_getProcessorLineSize()
 #define MPI_GET_PROCESSOR_LINE_SIZE_DEFINED 1
 #endif
 
-#if defined(__ppc64__)
+#if 0
 /*
  *  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