Skip to content

Commit e23fb2d

Browse files
committed
---
yaml --- r: 4072 b: refs/heads/master c: 6fc3316 h: refs/heads/master v: v3
1 parent 726dabf commit e23fb2d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: e891e0b9924f5c5a4d417b6741d1001bc4f71ec5
2+
refs/heads/master: 6fc33163dcbd3dba8405ab5a9977e22479e81d76

trunk/Makefile.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ CFG_STDLIB :=$(call CFG_LIB_NAME,std)
5050
CFG_LIBRUSTC :=$(call CFG_LIB_NAME,rustc)
5151

5252
ifdef CFG_DISABLE_SHAREDSTD
53-
CFG_STDLIB_DEFAULT := lib/libstd.rlib
53+
CFG_STDLIB_DEFAULT = $(1)/lib/libstd.rlib
5454
else
55-
CFG_STDLIB_DEFAULT := $(CFG_STDLIB)
55+
CFG_STDLIB_DEFAULT = $(2)/$(CFG_STDLIB)
5656
endif
5757

5858
# version-string calculation
@@ -165,7 +165,7 @@ define SREQ
165165
ifdef CFG_DISABLE_SHAREDSTD
166166
SREQ$(1) = stage$(1)/rustc$(X) \
167167
stage$(1)/$$(CFG_RUNTIME) \
168-
stage$(1)/$$(CFG_STDLIB_DEFAULT) \
168+
$$(call CFG_STDLIB_DEFAULT,stage$(1),stage$(1)) \
169169
stage$(1)/$$(CFG_RUSTLLVM) \
170170
stage$(1)/lib/glue.o \
171171
stage$(1)/lib/main.o \
@@ -174,7 +174,7 @@ SREQ$(1) = stage$(1)/rustc$(X) \
174174
else
175175
SREQ$(1) = stage$(1)/rustc$(X) \
176176
stage$(1)/$$(CFG_RUNTIME) \
177-
stage$(1)/$$(CFG_STDLIB_DEFAULT) \
177+
$$(call CFG_STDLIB_DEFAULT,stage$(1),stage$(1)) \
178178
stage$(1)/$$(CFG_RUSTLLVM) \
179179
stage$(1)/lib/glue.o \
180180
stage$(1)/lib/main.o \

trunk/mk/stageN.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ stage$(2)/%.o: stage$(2)/%.s
5050
@$$(call E, assemble [gcc]: $$@)
5151
$$(Q)gcc $$(CFG_GCCISH_CFLAGS) -o $$@ -c $$<
5252

53-
stage$(2)/rustc$$(X): $$(COMPILER_CRATE) $$(COMPILER_INPUTS) \
54-
stage$(2)/$$(CFG_RUNTIME) \
55-
stage$(1)/$$(CFG_STDLIB_DEFAULT) \
56-
stage$(2)/$$(CFG_RUSTLLVM) \
53+
stage$(2)/rustc$$(X): $$(COMPILER_CRATE) $$(COMPILER_INPUTS) \
54+
stage$(2)/$$(CFG_RUNTIME) \
55+
$$(call CFG_STDLIB_DEFAULT,stage$(1),stage$(2)) \
56+
stage$(2)/$$(CFG_RUSTLLVM) \
5757
$$(SREQ$(1))
5858
@$$(call E, compile_and_link: $$@)
5959
$$(STAGE$(1)) -L stage$(2) -o $$@ $$<

0 commit comments

Comments
 (0)