Skip to content

Commit 68887fd

Browse files
committed
Fix missing dependencies on intrinsics.bc.
1 parent 6ed6791 commit 68887fd

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

mk/stage1.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ stage1/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
44
@$(call E, compile_and_link: $@)
55
$(STAGE1) --shared -o $@ $<
66

7-
stage1/glue.o: stage1/rustc$(X) stage0/$(CFG_STDLIB) stage0/intrinsics.bc \
7+
stage1/glue.o: stage1/rustc$(X) stage0/$(CFG_STDLIB) stage1/intrinsics.bc \
88
$(LREQ) $(MKFILES)
99
@$(call E, generate: $@)
1010
$(STAGE1) -c -o $@ --glue
@@ -23,6 +23,6 @@ stage1/%.o: stage1/%.s
2323
@$(call E, assemble [gcc]: $@)
2424
$(Q)gcc $(CFG_GCCISH_CFLAGS) -o $@ -c $<
2525

26-
stage1/%$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ0)
26+
stage1/%$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ0) stage0/intrinsics.bc
2727
@$(call E, compile_and_link: $@)
2828
$(STAGE0) -o $@ $<

mk/stage2.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ stage2/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
44
@$(call E, compile_and_link: $@)
55
$(STAGE2) --shared -o $@ $<
66

7-
stage2/glue.o: stage2/rustc$(X) stage1/$(CFG_STDLIB) stage1/intrinsics.bc \
7+
stage2/glue.o: stage2/rustc$(X) stage1/$(CFG_STDLIB) stage2/intrinsics.bc \
88
rustllvm/$(CFG_RUSTLLVM) rt/$(CFG_RUNTIME)
99
@$(call E, generate: $@)
1010
$(STAGE2) -c -o $@ --glue
@@ -23,6 +23,6 @@ stage2/%.o: stage2/%.s
2323
@$(call E, assemble [gcc]: $@)
2424
$(Q)gcc $(CFG_GCCISH_CFLAGS) -o $@ -c $<
2525

26-
stage2/%$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ1)
26+
stage2/%$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ1) stage1/intrinsics.bc
2727
@$(call E, compile_and_link: $@)
2828
$(STAGE1) -o $@ $<

mk/stage3.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ stage3/%.o: stage3/%.s
2323
@$(call E, assemble [gcc]: $@)
2424
$(Q)gcc $(CFG_GCCISH_CFLAGS) -o $@ -c $<
2525

26-
stage3/%$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ2)
26+
stage3/%$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ2) stage2/intrinsics.bc
2727
@$(call E, compile_and_link: $@)
2828
$(STAGE2) -o $@ $<

0 commit comments

Comments
 (0)