Skip to content

Commit f61713a

Browse files
committed
hypothetical fix for #8865.
1 parent bb35e23 commit f61713a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

mk/target.mk

+6-3
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ define TARGET_STAGE_N
3232

3333
$$(TLIB$(1)_T_$(2)_H_$(3))/libmorestack.a: \
3434
rt/$(2)/stage$(1)/arch/$$(HOST_$(2))/libmorestack.a \
35-
| $$(TLIB$(1)_T_$(2)_H_$(3))/
35+
| $$(TLIB$(1)_T_$(2)_H_$(3))/ \
36+
$(HBIN0_H_$(CFG_BUILD_TRIPLE))/rustc$(X_$(CFG_BUILD_TRIPLE))
3637
@$$(call E, cp: $$@)
3738
$$(Q)cp $$< $$@
3839

3940
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_RUNTIME_$(2)): \
4041
rt/$(2)/stage$(1)/$(CFG_RUNTIME_$(2)) \
41-
| $$(TLIB$(1)_T_$(2)_H_$(3))/
42+
| $$(TLIB$(1)_T_$(2)_H_$(3))/ \
43+
$(HBIN0_H_$(CFG_BUILD_TRIPLE))/rustc$(X_$(CFG_BUILD_TRIPLE))
4244
@$$(call E, cp: $$@)
4345
$$(Q)cp $$< $$@
4446

@@ -77,7 +79,8 @@ ifneq ($$(findstring $(2),$$(CFG_HOST_TRIPLES)),)
7779

7880
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_RUSTLLVM_$(3)): \
7981
rustllvm/$(2)/$(CFG_RUSTLLVM_$(3)) \
80-
| $$(TLIB$(1)_T_$(2)_H_$(3))/
82+
| $$(TLIB$(1)_T_$(2)_H_$(3))/ \
83+
$(HBIN0_H_$(CFG_BUILD_TRIPLE))/rustc$(X_$(CFG_BUILD_TRIPLE))
8184
@$$(call E, cp: $$@)
8285
$$(Q)cp $$< $$@
8386

0 commit comments

Comments
 (0)