diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-09-08 01:26:01 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-09-08 01:26:01 +0200 |
commit | 697ed91ca901f8e2ce3ba2b7cf69cdb18c8b37ad (patch) | |
tree | 17dc6b65e0a98db6125bab4786f7b1594fc3a629 /sysdeps/mach/hurd/Makefile | |
parent | 7f9346e11e160d0157786c1e3761453c7e0f99c4 (diff) | |
download | glibc-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/hurd/Makefile')
-rw-r--r-- | sysdeps/mach/hurd/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile index 244ac4ba30..d8db400579 100644 --- a/sysdeps/mach/hurd/Makefile +++ b/sysdeps/mach/hurd/Makefile @@ -46,8 +46,9 @@ hurd-objpfx = $(common-objpfx)hurd/ # These are all the generated headers that <hurd.h> includes. before-compile += $(patsubst %,$(hurd-objpfx)hurd/%.h,auth io fs process) -$(patsubst %,$(hurd-objpfx)hurd/%.%,auth io fs process): \ - $(common-objpfx)mach/mach-shortcuts.h +$(patsubst %,$(hurd-objpfx)hurd/%.%,auth io fs process): hurd-before-compile \ +.PHONY: hurd-before-compile +hurd-before-compile: $(common-objpfx)mach/mach-shortcuts.h $(MAKE) -C $(..)hurd subdir=hurd before-compile no_deps=t endif |