From ea6d7847ac128f02d1f01ffd01e68341df34ac6e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 30 Jun 2020 15:30:27 -0400 Subject: make mallocng the default malloc implementation --- Makefile | 2 +- configure | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3d3e3622..e8cc4436 100644 --- 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)) diff --git a/configure b/configure index 0dfd2d17..18fda9af 100755 --- 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 -- cgit v1.2.1