diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-02-14 08:13:19 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-14 10:46:19 -0800 |
| commit | 8694fd1e964ae0ed149d2ba9d42e1702d3b8cc77 (patch) | |
| tree | eb69271defe7cfd248f4e84d6f77483ba8890ba2 | |
| parent | 6e840235962ca579cb5aa5d90d82165890c79f4c (diff) | |
| download | rust-8694fd1e964ae0ed149d2ba9d42e1702d3b8cc77.tar.gz rust-8694fd1e964ae0ed149d2ba9d42e1702d3b8cc77.zip | |
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.
| -rw-r--r-- | mk/rt.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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" \ |
