diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-09-06 21:07:00 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-09-06 21:07:00 +0200 |
commit | 7f9346e11e160d0157786c1e3761453c7e0f99c4 (patch) | |
tree | 287923e2fbdeffe2b96ea6379690a6855b241e93 /sysdeps/mach/Makefile | |
parent | ccdc039c9d1f7b2efe23a156b2c72a50e64453e4 (diff) | |
download | glibc-7f9346e11e160d0157786c1e3761453c7e0f99c4.tar.gz glibc-7f9346e11e160d0157786c1e3761453c7e0f99c4.tar.xz glibc-7f9346e11e160d0157786c1e3761453c7e0f99c4.zip |
Fix rules generating headers in hurd/ and mach/
when initial make call has subdir= explicitly set. * sysdeps/mach/Makefile ($(patsubst mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when calling $(MAKE). * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth io fs process)): Force subdir to hurd when calling $(MAKE). ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force subdir to mach when calling $(MAKE).
Diffstat (limited to 'sysdeps/mach/Makefile')
-rw-r--r-- | sysdeps/mach/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/Makefile b/sysdeps/mach/Makefile index b47cdc6b33..3323e818eb 100644 --- a/sysdeps/mach/Makefile +++ b/sysdeps/mach/Makefile @@ -43,7 +43,7 @@ ifneq (mach,$(subdir)) # This patsubst generates patterns like `m%h-shortcuts.h', which are damn # likely to match just the corresponding particular file we want. $(patsubst mach%,m\%h%,$(mach-before-compile)): # Run only if doesn't exist. - $(MAKE) -C $(..)mach mach-before-compile no_deps=t generating=t + $(MAKE) -C $(..)mach subdir=mach mach-before-compile no_deps=t generating=t before-compile += $(mach-before-compile) endif |