about summary refs log tree commit diff
path: root/stdio-common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/Makefile')
-rw-r--r--stdio-common/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 75ec880668..c66d16ea7f 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -38,6 +38,10 @@ routines	:=							      \
 
 include ../Makeconfig
 
+ifeq ($(stdio),libio)
+routines += vfwprintf vfwscanf
+endif
+
 install-others := $(inst_includedir)/bits/stdio_lim.h
 
 aux	:= errlist siglist
@@ -65,7 +69,6 @@ $(inst_includedir)/bits/stdio_lim.h: $(common-objpfx)bits/stdio_lim.h
 	$(do-install)
 
 ifeq ($(stdio),libio)
-routines += vfwprintf vfwscanf
 ifneq (,$(filter %REENTRANT, $(defines)))
 CPPFLAGS += -D_IO_MTSAFE_IO
 endif