Drop minix-malloc & friends

Known limitations:
 - comment for now testisofs, as iso9660fs is known to be broken.

Benefits:
 - near 3x speed improvement on C++ code compilation, bringing down
   make build to from 44min down to 21min.

 - Allows for X applications to work properly, which should be available
   in near-term future through pkgsrc for 3.3.0.

Change-Id: I8f4179a7ea925ed381642add32cfd8c5822217e4
This commit is contained in:
2014-09-03 16:53:25 +02:00
parent 6f7ac603f2
commit 31b808b8fa
8 changed files with 8 additions and 538 deletions

View File

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

View File

@@ -27,12 +27,14 @@ SRCS+= erand48_ieee754.c
.if (${USE_JEMALLOC} != "no")
SRCS+= jemalloc.c
.elif (${USE_MINIXMALLOC:Uno} != "no")
.include "${NETBSDSRCDIR}/minix/lib/libc/Makefile.inc"
.else
SRCS+= malloc.c
.endif
.if defined(__MINIX)
.include "${NETBSDSRCDIR}/minix/lib/libc/Makefile.inc"
.endif # defined(__MINIX)
CPPFLAGS.strtoimax.c+= -I${LIBCDIR}/../../common/lib/libc/stdlib
CPPFLAGS.strtol.c+= -I${LIBCDIR}/../../common/lib/libc/stdlib
CPPFLAGS.strtoq.c+= -I${LIBCDIR}/../../common/lib/libc/stdlib