From fa555a25501cd656a06e483f6825a6ed1615b57a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 23 Apr 2003 20:59:01 +0000 Subject: 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. --- libc/stdlib/Makefile | 9 ++++----- 1 file 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)) -- cgit v1.2.3