summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2008-10-17 08:30:20 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2008-10-17 08:30:20 +0000
commit1455fd2638c8452cdc47cc11b4d4e2bbd1a5eb7d (patch)
tree70fbcfd011b8fca8ec3220db307422fe05b78c29 /lib/libc
parent9762ac420433cce5d3ed5550d4a170cac3c1aaab (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/stdlib/Makefile.inc b/lib/libc/stdlib/Makefile.inc
index 86b3c65584cd..3f3622da8aee 100644
--- a/lib/libc/stdlib/Makefile.inc
+++ b/lib/libc/stdlib/Makefile.inc
@@ -48,3 +48,8 @@ MLINKS+=strtoul.3 strtoull.3 strtoul.3 strtouq.3 strtoul.3 strtoumax.3
MLINKS+=malloc.3 calloc.3 malloc.3 free.3 malloc.3 malloc.conf.5 \
malloc.3 realloc.3 malloc.3 reallocf.3 malloc.3 malloc_usable_size.3
MLINKS+=tsearch.3 tdelete.3 tsearch.3 tfind.3 tsearch.3 twalk.3
+
+.if defined(MALLOC_PRODUCTION)
+CFLAGS+= -DMALLOC_PRODUCTION
+.endif
+