packages/arcticfox/powerpc-disable-malloc-static-sizes.patch

12 lines
554 B
Diff

--- Arctic-Fox/memory/mozjemalloc/jemalloc.c.orig 2021-08-31 12:02:59.609309620 +0200
+++ Arctic-Fox/memory/mozjemalloc/jemalloc.c 2021-08-31 12:03:20.199164183 +0200
@@ -1036,7 +1036,7 @@
* controlling the malloc behavior are defined as compile-time constants
* for best performance and cannot be altered at runtime.
*/
-#if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__)
+#if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__) && !defined(__powerpc) && !defined(__powerpc64)
#define MALLOC_STATIC_SIZES 1
#endif