File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -226,8 +226,8 @@ config.mk: $(S)configure $(S)Makefile.in $(S)src/snapshots.txt
226
226
# #####################################################################
227
227
228
228
include $(CFG_SRC_DIR ) /mk/intrinsics.mk
229
- include $(CFG_SRC_DIR ) /mk/stage0.mk
230
229
include $(CFG_SRC_DIR ) /mk/stageN.mk
230
+ include $(CFG_SRC_DIR ) /mk/stage0.mk
231
231
include $(CFG_SRC_DIR ) /mk/rt.mk
232
232
include $(CFG_SRC_DIR ) /mk/rustllvm.mk
233
233
include $(CFG_SRC_DIR ) /mk/autodep.mk
@@ -269,4 +269,4 @@ endif
269
269
ifneq ($(findstring clean,$(MAKECMDGOALS ) ) ,)
270
270
CFG_INFO := $(info cfg: including clean rules)
271
271
include $(CFG_SRC_DIR ) /mk/clean.mk
272
- endif
272
+ endif
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ stage0/lib/main.o: rt/main.o
35
35
stage0/lib/$(CFG_RUNTIME ) : stage0/rustc$(X )
36
36
$(Q ) touch $@
37
37
38
- # stage0/lib/$(CFG_STDLIB) and stage0/lib/libstd.rlib rules are generated
39
- # in stageN.mk
38
+ # Instantiate template (in stageN.mk) for building
39
+ # stage0/lib/$(CFG_STDLIB) and stage0/lib/libstd.rlib.
40
+ SREQpre = stage0/lib/main.o $(MKFILES )
41
+ $(eval $(call STDLIBGEN,pre,0))
40
42
Original file line number Diff line number Diff line change @@ -96,10 +96,6 @@ stage$(2)/lib/$$(CFG_LIBRUSTC): $$(COMPILER_CRATE) $$(COMPILER_INPUTS) \
96
96
97
97
endef
98
98
99
- # Instantiate template for building initial stdlib
100
- SREQpre = stage0/lib/main.o $(MKFILES )
101
- $(eval $(call STDLIBGEN,pre,0))
102
-
103
99
# Instantiate template for 0->1, 1->2, 2->3 build dirs
104
100
105
101
$(eval $(call STAGEN,0,1))
You can’t perform that action at this time.
0 commit comments