19 lines
733 B
Diff
19 lines
733 B
Diff
Define jemalloc LG_QUANTUM for e2k.
|
|
|
|
diff -rupN a/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_types.h b/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_types.h
|
|
--- a/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_types.h 2020-02-06 13:25:55.708482193 +0300
|
|
+++ b/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_types.h 2020-02-06 13:36:01.420720480 +0300
|
|
@@ -110,6 +110,12 @@ typedef int malloc_cpuid_t;
|
|
# ifdef __le32__
|
|
# define LG_QUANTUM 4
|
|
# endif
|
|
+# ifdef __e2k__
|
|
+# define LG_QUANTUM 4
|
|
+# endif
|
|
+# ifdef __sparc__
|
|
+# define LG_QUANTUM 4
|
|
+# endif
|
|
# ifndef LG_QUANTUM
|
|
# error "Unknown minimum alignment for architecture; specify via "
|
|
"--with-lg-quantum"
|