diff --git a/mk/stage2.mk b/mk/stage2.mk index 74e76c3ce03..5e7a7885195 100644 --- a/mk/stage2.mk +++ b/mk/stage2.mk @@ -1,5 +1,6 @@ -stage2/std.o: $(STDLIB_CRATE) $(STDLIB_INPUTS) stage1/rustc$(X) \ - stage1/intrinsics.bc $(MKFILES) +stage2/std.o: $(STDLIB_CRATE) $(STDLIB_INPUTS) \ + stage1/rustc$(X) stage1/$(CFG_STDLIB) stage1/intrinsics.bc \ + $(LREQ) $(MKFILES) @$(call E, compile: $@) $(STAGE1) -c --shared -o $@ $< diff --git a/mk/stage3.mk b/mk/stage3.mk index 427f37f88ee..feba49727ca 100644 --- a/mk/stage3.mk +++ b/mk/stage3.mk @@ -1,5 +1,6 @@ -stage3/std.o: $(STDLIB_CRATE) $(STDLIB_INPUTS) stage2/rustc$(X) \ - stage2/intrinsics.bc $(MKFILES) +stage3/std.o: $(STDLIB_CRATE) $(STDLIB_INPUTS) \ + stage2/rustc$(X) stage2/$(CFG_STDLIB) stage2/intrinsics.bc \ + $(LREQ) $(MKFILES) @$(call E, compile: $@) $(STAGE2) -c --shared -o $@ $<