summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-11-07 19:43:29 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-11-07 19:43:29 +0000
commit18abcc693b3a2d54341868b9d274fd37e712d255 (patch)
tree449edfa3b6b7fe9939bb2110042e3a1b236b2b15
parent7100638336cdbf6a4ae1d08103b6938f95f28e3c (diff)
Okay, fix for atof _correctly_...
-rw-r--r--libc/stdlib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile
index fdf20444f..fdbe615d3 100644
--- a/libc/stdlib/Makefile
+++ b/libc/stdlib/Makefile
@@ -34,9 +34,12 @@ endif
MSRC = stdlib.c
-MOBJ = atof.o abs.o labs.o atoi.o atol.o strtol.o strtoul.o _stdlib_strto_l.o \
+MOBJ = abs.o labs.o atoi.o atol.o strtol.o strtoul.o _stdlib_strto_l.o \
qsort.o bsearch.o
MOBJ += llabs.o atoll.o strtoll.o strtoull.o _stdlib_strto_ll.o
+ifeq ($(UCLIBC_HAS_FLOATS),y)
+ MOBJ += atof.o
+endif
ifeq ($(UCLIBC_HAS_WCHAR),y)
MOBJ += mblen.o mbtowc.o wctomb.o mbstowcs.o wcstombs.o \