summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/internals/Makefile2
-rw-r--r--libc/stdlib/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/internals/Makefile b/libc/misc/internals/Makefile
index 2d0be502c..93faa1929 100644
--- a/libc/misc/internals/Makefile
+++ b/libc/misc/internals/Makefile
@@ -24,7 +24,7 @@ TOPDIR=../../../
include $(TOPDIR)Rules.mak
CSRC=ultostr.c ltostr.c __uClibc_main.c tempname.c
-ifeq ($(HAS_FLOATS),true)
+ifeq ($(HAS_FLOATING_POINT),true)
CSRC += dtostr.c zoicheck.c
endif
ifeq ($(HAS_LONG_LONG),true)
diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile
index c8fde662b..6a5db9f34 100644
--- a/libc/stdlib/Makefile
+++ b/libc/stdlib/Makefile
@@ -39,7 +39,7 @@ MOBJ2=atexit.o exit.o
CSRC = abort.c getenv.c mktemp.c qsort.c realpath.c abs.c bsearch.c \
mkstemp.c putenv.c rand.c random.c setenv.c system.c div.c ldiv.c \
getpt.c ptsname.c grantpt.c unlockpt.c
-ifeq ($(HAS_FLOATS),true)
+ifeq ($(HAS_FLOATING_POINT),true)
CSRC += strtod.c
endif
COBJS=$(patsubst %.c,%.o, $(CSRC))