Skip to content

Commit 15c9631

Browse files
committed
---
yaml --- r: 1918 b: refs/heads/master c: b55c833 h: refs/heads/master v: v3
1 parent 77d8f14 commit 15c9631

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 601cf8c97fcc4ba444015fc4fc122b1648ae8230
2+
refs/heads/master: b55c8333cbc44c3dd21b6de8c6647c3c1a8f9c87

trunk/Makefile.in

+9-11
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,9 @@ COMPILER_INPUTS := $(wildcard $(addprefix $(S)src/comp/, \
388388

389389
LREQ := rt/$(CFG_RUNTIME) rustllvm/$(CFG_RUSTLLVM)
390390
BREQ := boot/rustboot$(X) boot/$(CFG_STDLIB)
391-
SREQ0 := stage0/rustc$(X) $(LREQ)
392-
SREQ1 := stage1/rustc$(X) $(LREQ)
391+
SREQ0 := stage0/rustc$(X) $(LREQ) stage0/glue.o stage0/$(CFG_STDLIB)
392+
SREQ1 := stage1/rustc$(X) $(LREQ) stage1/glue.o stage1/$(CFG_STDLIB)
393+
SREQ2 := stage2/rustc$(X) $(LREQ) stage2/glue.o stage2/$(CFG_STDLIB)
393394

394395

395396
######################################################################
@@ -468,20 +469,17 @@ stage2/$(CFG_STDLIB): stage2/std.o stage2/glue.o
468469

469470

470471

471-
stage0/rustc$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) \
472-
$(BREQ)
472+
stage0/rustc$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) $(BREQ)
473473
@$(call E, compile: $@)
474474
$(BOOT) -minimal -o $@ $<
475475
$(Q)chmod 0755 $@
476476

477-
stage1/rustc$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) \
478-
$(SREQ0) stage0/$(CFG_STDLIB)
477+
stage1/rustc$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ0)
479478
@$(call E, compile: $@)
480479
$(STAGE0) -o $@ $<
481480
$(Q)chmod 0755 $@
482481

483-
stage2/rustc$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) \
484-
$(SREQ1) stage1/$(CFG_STDLIB)
482+
stage2/rustc$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ1)
485483
@$(call E, compile: $@)
486484
$(STAGE1) -o $@ $<
487485
$(Q)chmod 0755 $@
@@ -714,7 +712,7 @@ compile-check: tidy \
714712
# Testing rules
715713
######################################################################
716714

717-
%.stage0$(X): %.stage0.o rt/$(CFG_RUNTIME) stage0/glue.o
715+
%.stage0$(X): %.stage0.o $(SREQ0)
718716
@$(call E, link [gcc]: $@)
719717
$(Q)gcc $(CFG_GCC_CFLAGS) stage0/glue.o -o $@ $< \
720718
-Lstage0 -Lrt -lrustrt -lstd
@@ -723,7 +721,7 @@ compile-check: tidy \
723721
@# programs, I\'ll live with the noise.
724722
-$(Q)$(CFG_DSYMUTIL) $@
725723

726-
%.stage1(X): %.stage1.o rt/$(CFG_RUNTIME) stage1/glue.o
724+
%.stage1(X): %.stage1.o $(SREQ1)
727725
@$(call E, link [gcc]: $@)
728726
$(Q)gcc $(CFG_GCC_CFLAGS) stage1/glue.o -o $@ $< \
729727
-Lstage1 -Lrt -lrustrt -lstd
@@ -732,7 +730,7 @@ compile-check: tidy \
732730
@# programs, I\'ll live with the noise.
733731
-$(Q)$(CFG_DSYMUTIL) $@
734732

735-
%.stage2$(X): %.stage2.o rt/$(CFG_RUNTIME) stage2/glue.o
733+
%.stage2$(X): %.stage2.o $(SREQ2)
736734
@$(call E, link [gcc]: $@)
737735
$(Q)gcc $(CFG_GCC_CFLAGS) stage2/glue.o -o $@ $< \
738736
-Lstage2 -Lrt -lrustrt -lstd

0 commit comments

Comments
 (0)