diff --git a/sysdeps/unix/Makefile b/sysdeps/unix/Makefile index 109d270d77..0173802ba7 100644 --- a/sysdeps/unix/Makefile +++ b/sysdeps/unix/Makefile @@ -92,6 +92,7 @@ compile-syscall = $(COMPILE.S) -o $@ -x assembler-with-cpp - \ ifndef avoid-generated $(common-objpfx)sysd-syscalls: $(..)sysdeps/unix/make-syscalls.sh \ $(wildcard $(+sysdep_dirs:%=%/syscalls.list)) \ + $(wildcard $(+sysdep_dirs:%=%/arch-syscall.h)) \ $(common-objpfx)libc-modules.stmp for dir in $(+sysdep_dirs); do \ test -f $$dir/syscalls.list && \