make mallocng the default malloc implementation

This commit is contained in:
Rich Felker 2020-06-30 15:30:27 -04:00
parent e71188fa05
commit ea6d7847ac
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ includedir = $(prefix)/include
libdir = $(prefix)/lib libdir = $(prefix)/lib
syslibdir = /lib syslibdir = /lib
MALLOC_DIR = oldmalloc MALLOC_DIR = mallocng
SRC_DIRS = $(addprefix $(srcdir)/,src/* src/malloc/$(MALLOC_DIR) crt ldso $(COMPAT_SRC_DIRS)) SRC_DIRS = $(addprefix $(srcdir)/,src/* src/malloc/$(MALLOC_DIR) crt ldso $(COMPAT_SRC_DIRS))
BASE_GLOBS = $(addsuffix /*.c,$(SRC_DIRS)) BASE_GLOBS = $(addsuffix /*.c,$(SRC_DIRS))
ARCH_GLOBS = $(addsuffix /$(ARCH)/*.[csS],$(SRC_DIRS)) ARCH_GLOBS = $(addsuffix /$(ARCH)/*.[csS],$(SRC_DIRS))

4
configure vendored
View File

@ -36,7 +36,7 @@ Optional features:
--disable-static inhibit building static library [enabled] --disable-static inhibit building static library [enabled]
Optional packages: Optional packages:
--with-malloc=... choose malloc implementation [oldmalloc] --with-malloc=... choose malloc implementation [mallocng]
Some influential environment variables: Some influential environment variables:
CC C compiler command [detected] CC C compiler command [detected]
@ -142,7 +142,7 @@ static=yes
wrapper=auto wrapper=auto
gcc_wrapper=no gcc_wrapper=no
clang_wrapper=no clang_wrapper=no
malloc_dir=oldmalloc malloc_dir=mallocng
for arg ; do for arg ; do
case "$arg" in case "$arg" in