about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/unix/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/Makefile b/sysdeps/unix/Makefile
index 66a7363b95..9ffb344683 100644
--- a/sysdeps/unix/Makefile
+++ b/sysdeps/unix/Makefile
@@ -208,7 +208,7 @@ common-generated := $(common-generated) \
 		    ioctls.h ioctls make-ioctls make-ioctls.c
 endif
 
-ifeq ($(subdir),stdio)
+ifeq ($(subdir),stdio-common)
 ifeq (,$(filter-out $(sysdep_dir)/stub/ $(common-objpfx),\
 	$(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/errlist.c))))))
 
@@ -224,7 +224,7 @@ $(objpfx)make_errlist: $(sysdep_dir)/unix/make_errlist.c
 generated := $(generated) make_errlist errlist.c
 
 endif
-endif # stdio
+endif # stdio-common
 
 ifeq (,$(filter-out $(sysdep_dir)/stub/ $(common-objpfx),\
 	$(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/syscall.h))))))