about summary refs log tree commit diff
path: root/sysdeps/mach/Makefile
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-09-08 01:26:01 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-09-08 01:26:01 +0200
commit697ed91ca901f8e2ce3ba2b7cf69cdb18c8b37ad (patch)
tree17dc6b65e0a98db6125bab4786f7b1594fc3a629 /sysdeps/mach/Makefile
parent7f9346e11e160d0157786c1e3761453c7e0f99c4 (diff)
downloadglibc-697ed91ca901f8e2ce3ba2b7cf69cdb18c8b37ad.tar.gz
glibc-697ed91ca901f8e2ce3ba2b7cf69cdb18c8b37ad.tar.xz
glibc-697ed91ca901f8e2ce3ba2b7cf69cdb18c8b37ad.zip
Fix parallel build of before-compile targets.
* sysdeps/mach/Makefile ($(patsubst
mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
mach-before-compile target.
* sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
io fs process)): Move rule to dedicated hurd-before-compile target.
Diffstat (limited to 'sysdeps/mach/Makefile')
-rw-r--r--sysdeps/mach/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/mach/Makefile b/sysdeps/mach/Makefile
index 3323e818eb..c6f44fe5fc 100644
--- a/sysdeps/mach/Makefile
+++ b/sysdeps/mach/Makefile
@@ -42,7 +42,9 @@ mach-before-compile := $(mach-objpfx)mach-shortcuts.h \
 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.
+$(patsubst mach%,m\%h%,$(mach-before-compile)): mach-before-compile # Run only if doesn't exist.
+.PHONY: mach-before-compile
+mach-before-compile:
 	$(MAKE) -C $(..)mach subdir=mach mach-before-compile no_deps=t generating=t
 
 before-compile += $(mach-before-compile)