use minix malloc
. default jemalloc is not too easy to compile without threads libraries/types . non-default malloc has odd virtual address space binge problem . switch to ack/minix malloc in old libc for now
This commit is contained in:
parent
43e574558f
commit
e81a0fd9c1
2 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,7 @@ USE_INET6=no
|
|||
|
||||
MKYP=no #requires RPC
|
||||
USE_JEMALLOC=no
|
||||
USE_MINIXMALLOC=yes
|
||||
USE_FORT=no
|
||||
USE_LIBTRE=no
|
||||
|
||||
|
|
|
@ -42,6 +42,11 @@ SRCS+= erand48_ieee754.c
|
|||
|
||||
.if (${USE_JEMALLOC} != "no")
|
||||
SRCS+= jemalloc.c
|
||||
.elif (${USE_MINIXMALLOC} != "no")
|
||||
SRCS+= \
|
||||
${LIBCDIR}/../libc/stdlib/malloc.c \
|
||||
${LIBCDIR}/../libc/stdlib/calloc.c \
|
||||
${LIBCDIR}/../libc/stdlib/malloc-debug.c
|
||||
.else
|
||||
SRCS+= malloc.c
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue