summaryrefslogtreecommitdiff
path: root/libc/stdlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/Makefile')
-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 \