From 739561ab34f843f4d6553993f0eabb24ce97ab25 Mon Sep 17 00:00:00 2001 From: Johannes Date: Sat, 16 Feb 2019 09:45:13 -0600 Subject: [PATCH] libs/libc/stdio/Make.defs: lib_dtoa.c is only used in the LIBC_CONFIG_NANO_PRINTF=n case. --- libs/libc/stdio/Make.defs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/libc/stdio/Make.defs b/libs/libc/stdio/Make.defs index 2ab83833a8..97e91af03f 100644 --- a/libs/libc/stdio/Make.defs +++ b/libs/libc/stdio/Make.defs @@ -59,6 +59,10 @@ else CSRCS += lib_libvsprintf.c +ifeq ($(CONFIG_LIBC_FLOATINGPOINT),y) +CSRCS += lib_dtoa.c +endif + endif # The remaining sources files depend upon C streams @@ -89,10 +93,6 @@ endif # Other support that depends on specific, configured features. -ifeq ($(CONFIG_LIBC_FLOATINGPOINT),y) -CSRCS += lib_dtoa.c -endif - # Add the stdio directory to the build DEPPATH += --dep-path stdio