From 8694fd1e964ae0ed149d2ba9d42e1702d3b8cc77 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 14 Feb 2014 08:13:19 -0800 Subject: [PATCH] Add MKFILE_DEPS to compiler-rt target Currently when you run `make -jN` it's likely that you'll remove compiler-rt and then it won't get cp'd back into the right place. I believe the reason for this is that the compiler-rt library target never got updated so make decided it never needed to copy the files back into place. The files were all there at the beginning of `make`, but then we may clean out the stage0 versions if we unzip the snapshot again. --- mk/rt.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rt.mk b/mk/rt.mk index 10b73c6b395..673e6684f69 100644 --- a/mk/rt.mk +++ b/mk/rt.mk @@ -236,7 +236,7 @@ COMPRT_NAME_$(1) := $$(call CFG_STATIC_LIB_NAME_$(1),compiler-rt) COMPRT_LIB_$(1) := $$(RT_OUTPUT_DIR_$(1))/$$(COMPRT_NAME_$(1)) COMPRT_BUILD_DIR_$(1) := $$(RT_OUTPUT_DIR_$(1))/compiler-rt -$$(COMPRT_LIB_$(1)): $$(COMPRT_DEPS) +$$(COMPRT_LIB_$(1)): $$(COMPRT_DEPS) $$(MKFILE_DEPS) @$$(call E, make: compiler-rt) $$(Q)$$(MAKE) -C "$(S)src/compiler-rt" \ ProjSrcRoot="$(S)src/compiler-rt" \