summaryrefslogtreecommitdiff
path: root/libc/stdlib/Makefile.in
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-04-04 00:25:06 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-04-04 00:25:06 +0200
commite80657059aa21aaf24beebb99abc842b8ee0ca80 (patch)
tree7e3d8d244d90ed833dbf7f678fd3afa64195d92a /libc/stdlib/Makefile.in
parent5c64b9e16917b1a7cb59c1c8fed8628904042f08 (diff)
add UCLIBC_SUSV2_LEGACY to hide valloc
valloc was marked as LEGACY in SUSv2, removed from SUSv3 and later. TODO: Remove this (point people to memalign and it's successors?). Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdlib/Makefile.in')
-rw-r--r--libc/stdlib/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/stdlib/Makefile.in b/libc/stdlib/Makefile.in
index b92f7ceeb..880de78d8 100644
--- a/libc/stdlib/Makefile.in
+++ b/libc/stdlib/Makefile.in
@@ -17,7 +17,8 @@ CSRC-y := \
getpt.c drand48-iter.c jrand48.c \
jrand48_r.c lcong48.c lrand48.c lrand48_r.c mrand48.c mrand48_r.c nrand48.c \
nrand48_r.c rand_r.c srand48.c srand48_r.c seed48.c seed48_r.c \
- valloc.c a64l.c l64a.c __uc_malloc.c
+ a64l.c l64a.c __uc_malloc.c
+CSRC-$(UCLIBC_SUSV2_LEGACY) += valloc.c
CSRC-$(UCLIBC_HAS_ADVANCED_REALTIME) += posix_memalign.c
CSRC-$(UCLIBC_HAS_PTY) += grantpt.c unlockpt.c ptsname.c
CSRC-$(UCLIBC_HAS_ARC4RANDOM) += arc4random.c