summary refs log tree commit diff
path: root/libio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libio/Makefile')
-rw-r--r--libio/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/libio/Makefile b/libio/Makefile
index a37445213e..e636c19c82 100644
--- a/libio/Makefile
+++ b/libio/Makefile
@@ -43,7 +43,7 @@ routines	:=							      \
 									      \
 	libc_fatal
 
-tests = tst_swprintf tst_wprintf tst_swscanf tst_wscanf
+tests = tst_swprintf tst_wprintf tst_swscanf tst_wscanf tst_getwc tst_putwc
 
 all: # Make this the default target; it will be defined in Rules.
 
@@ -63,6 +63,8 @@ routines += clearerr_u feof_u ferror_u fputc_u getc_u getchar_u		      \
 CPPFLAGS += -D_IO_MTSAFE_IO
 endif
 
+CFLAGS-tst_putwc.c = -DOBJPFX=\"$(objpfx)\"
+
 aux	:= fileops genops stdfiles stdio strops
 
 ifeq ($(versioning),yes)