make mallocng the default malloc implementation
authorRich Felker <dalias@aerifal.cx>
Tue, 30 Jun 2020 19:30:27 +0000 (15:30 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 30 Jun 2020 19:38:27 +0000 (15:38 -0400)
Makefile
configure

index 3d3e362..e8cc443 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ includedir = $(prefix)/include
 libdir = $(prefix)/lib
 syslibdir = /lib
 
-MALLOC_DIR = oldmalloc
+MALLOC_DIR = mallocng
 SRC_DIRS = $(addprefix $(srcdir)/,src/* src/malloc/$(MALLOC_DIR) crt ldso $(COMPAT_SRC_DIRS))
 BASE_GLOBS = $(addsuffix /*.c,$(SRC_DIRS))
 ARCH_GLOBS = $(addsuffix /$(ARCH)/*.[csS],$(SRC_DIRS))
index 0dfd2d1..18fda9a 100755 (executable)
--- a/configure
+++ b/configure
@@ -36,7 +36,7 @@ Optional features:
   --disable-static        inhibit building static library [enabled]
 
 Optional packages:
-  --with-malloc=...       choose malloc implementation [oldmalloc]
+  --with-malloc=...       choose malloc implementation [mallocng]
 
 Some influential environment variables:
   CC                      C compiler command [detected]
@@ -142,7 +142,7 @@ static=yes
 wrapper=auto
 gcc_wrapper=no
 clang_wrapper=no
-malloc_dir=oldmalloc
+malloc_dir=mallocng
 
 for arg ; do
 case "$arg" in