summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-04-23 20:59:01 +0000
committerEric Andersen <andersen@codepoet.org>2003-04-23 20:59:01 +0000
commitfa555a25501cd656a06e483f6825a6ed1615b57a (patch)
tree93c24b173728bfd51e75bd6f82d6ac32d5f2828a
parent899f82f681cdff47beeccffbb33f6bab12cb60ae (diff)
Thierry De Corte notices that when UCLIBC_HAS_FLOAT is disabled, we must also
disable drand48, drand48_r, erand48, and erand48_r since they use floats.
-rw-r--r--libc/stdlib/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile
index e00929f39..59a5a6e0c 100644
--- a/libc/stdlib/Makefile
+++ b/libc/stdlib/Makefile
@@ -54,12 +54,11 @@ MSRC2=atexit.c
MOBJ2=atexit.o on_exit.o __exit_handler.o exit.o
CSRC = abort.c getenv.c mkdtemp.c mktemp.c realpath.c mkstemp.c mkstemp64.c \
rand.c random.c random_r.c setenv.c system.c div.c ldiv.c getpt.c \
- ptsname.c grantpt.c unlockpt.c gcvt.c drand48.c drand48-iter.c \
- drand48_r.c erand48.c erand48_r.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 calloc.c valloc.c
+ ptsname.c grantpt.c unlockpt.c gcvt.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 calloc.c valloc.c
ifeq ($(UCLIBC_HAS_FLOATS),y)
- CSRC += strtod.c strtof.c strtold.c
+ CSRC += strtod.c strtof.c strtold.c drand48.c drand48_r.c erand48.c erand48_r.c
endif
COBJS=$(patsubst %.c,%.o, $(CSRC))