about summary refs log tree commit diff
path: root/malloc/Makefile
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2017-05-11 17:25:10 -0400
committerDJ Delorie <dj@delorie.com>2017-05-11 17:27:35 -0400
commit827734fa03eb4b55f74319a4ffaa0b00c9c2785d (patch)
tree3c015c1bb235a12289d0f1d80113c31f724854a7 /malloc/Makefile
parent4da80dbb06a7394581f74deae489858bf1607f90 (diff)
downloadglibc-827734fa03eb4b55f74319a4ffaa0b00c9c2785d.tar.gz
glibc-827734fa03eb4b55f74319a4ffaa0b00c9c2785d.tar.xz
glibc-827734fa03eb4b55f74319a4ffaa0b00c9c2785d.zip
Tweak Makefile, asserts, comments. dj/malloc-tcache
* Un-Wundef-ify -DUSE_TCACHE
* More asserts in tcache get/put functions
* Clarify redundancy in tcache structure
Diffstat (limited to 'malloc/Makefile')
-rw-r--r--malloc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index dd8a43a6c7..e6ca11c76d 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -169,7 +169,9 @@ tst-malloc-usable-tunables-ENV = GLIBC_TUNABLES=glibc.malloc.check=3
 tst-malloc-usable-static-tunables-ENV = $(tst-malloc-usable-tunables-ENV)
 
 ifeq ($(experimental-malloc),yes)
-CPPFLAGS-malloc.c += -DUSE_TCACHE
+CPPFLAGS-malloc.c += -DUSE_TCACHE=1
+else
+CPPFLAGS-malloc.c += -DUSE_TCACHE=0
 endif
 # Uncomment this for test releases.  For public releases it is too expensive.
 #CPPFLAGS-malloc.o += -DMALLOC_DEBUG=1