summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--mach/Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ce46c6b496..e1ec8e8cb0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
 	* sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
 	"-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
 	depend on libc-modules.h,
+	* mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
 
 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
 
diff --git a/mach/Makefile b/mach/Makefile
index 2a695a5f3a..c58d235582 100644
--- a/mach/Makefile
+++ b/mach/Makefile
@@ -61,7 +61,7 @@ mach-machine = $(patsubst powerpc,ppc,$(base-machine))
 ifndef inhibit_mach_syscalls
 -include $(objpfx)mach-syscalls.mk
 endif
-$(objpfx)mach-syscalls.mk: syscalls.awk Makefile
+$(objpfx)mach-syscalls.mk: syscalls.awk Makefile libc-modules.h
 # Go kludges!!!
 	$(make-target-directory)
 # We must use $(CFLAGS) to get -O flags that affect #if's in header files.