Fix mach-syscalls.mk build

* mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
This commit is contained in:
Samuel Thibault 2016-03-20 19:50:58 +01:00
parent fe43d0f464
commit c775104ac6
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -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.