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:
Ben Gras 2011-08-18 00:08:38 +00:00
parent 43e574558f
commit e81a0fd9c1
2 changed files with 6 additions and 0 deletions

View file

@ -7,6 +7,7 @@ USE_INET6=no
MKYP=no #requires RPC
USE_JEMALLOC=no
USE_MINIXMALLOC=yes
USE_FORT=no
USE_LIBTRE=no

View file

@ -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