Skip to content

Commit ad2ab4c

Browse files
committed
Add missing dependencies, stageN/glue.o gets linked into the stageN/libstd.so.
1 parent 219924e commit ad2ab4c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mk/stage1.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
stage1/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
22
stage1/rustc$(X) stage0/$(CFG_STDLIB) stage1/intrinsics.bc \
3-
$(LREQ) $(MKFILES)
3+
stage1/glue.o $(LREQ) $(MKFILES)
44
@$(call E, compile_and_link: $@)
55
$(STAGE1) --shared -o $@ $<
66

mk/stage2.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
stage2/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
22
stage2/rustc$(X) stage1/$(CFG_STDLIB) stage2/intrinsics.bc \
3-
$(LREQ) $(MKFILES)
3+
stage2/glue.o $(LREQ) $(MKFILES)
44
@$(call E, compile_and_link: $@)
55
$(STAGE2) --shared -o $@ $<
66

mk/stage3.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
stage3/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
22
stage3/rustc$(X) stage2/$(CFG_STDLIB) stage3/intrinsics.bc \
3-
$(LREQ) $(MKFILES)
3+
stage3/glue.o $(LREQ) $(MKFILES)
44
@$(call E, compile_and_link: $@)
55
$(STAGE3) --shared -o $@ $<
66

0 commit comments

Comments
 (0)