summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 21:04:35 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 21:04:35 +0000
commit17f7f3d6dd56714d7c708774ddce405d6fff9a99 (patch)
tree27b75a5122b5fb04d861aad8ffcebca198981963 /libc/stdlib
parent80cf5ec28044c0b93b13fcc7b415c7aa90aae0ec (diff)
- gcvt() is marked LEGACY in XSI and mandatory in BSD.
Also make compilation conditional on float support.
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/stdlib/Makefile.in b/libc/stdlib/Makefile.in
index 016b3f1de..5a4aafd4f 100644
--- a/libc/stdlib/Makefile.in
+++ b/libc/stdlib/Makefile.in
@@ -12,7 +12,7 @@ include $(top_srcdir)libc/stdlib/malloc-standard/Makefile.in
CSRC := \
abort.c getenv.c mkdtemp.c mktemp.c realpath.c mkstemp.c \
rand.c random.c random_r.c setenv.c system.c div.c ldiv.c lldiv.c \
- getpt.c ptsname.c grantpt.c unlockpt.c gcvt.c drand48-iter.c jrand48.c \
+ getpt.c ptsname.c grantpt.c unlockpt.c drand48-iter.c jrand48.c \
jrand48_r.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 posix_memalign.c a64l.c l64a.c
@@ -24,6 +24,9 @@ CSRC += mkstemp64.c
endif
ifeq ($(UCLIBC_HAS_FLOATS),y)
CSRC += drand48.c drand48_r.c erand48.c erand48_r.c
+ifeq ($(UCLIBC_SUSV3_LEGACY),y)
+CSRC += gcvt.c
+endif
endif
# multi source stdlib.c