Skip to content

Commit 4fbea46

Browse files
committed
---
yaml --- r: 5626 b: refs/heads/master c: 7dbce10 h: refs/heads/master v: v3
1 parent 284e872 commit 4fbea46

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 4ee9b863849e14e116ffdfa6a836605ae8729b02
2+
refs/heads/master: 7dbce103fb6bc35ce38f0233a7a0fdf70f3e10ca

trunk/Makefile.in

+7-2
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,13 @@ CFG_VALGRIND_COMPILE$(1) = $$(CFG_VALGRIND_COMPILE)
197197
endif
198198

199199
STAGE$(1) := $$(Q)$$(call CFG_RUN_TARG,stage$(1), \
200-
$$(CFG_VALGRIND_COMPILE$(1)) stage$(1)/bin/rustc$$(X) \
201-
$$(CFG_RUSTC_FLAGS))
200+
$$(CFG_VALGRIND_COMPILE) stage$(1)/bin/rustc$$(X) \
201+
$$(CFG_RUSTC_FLAGS) --target=$(2))
202+
203+
PERF_STAGE$(1) := $$(Q)$$(call CFG_RUN_TARG,stage$(1), \
204+
$$(CFG_PERF_TOOL) stage$(1)/bin/rustc$$(X) \
205+
$$(CFG_RUSTC_FLAGS) --target=$(2))
206+
202207
endef
203208

204209
FUZZ := stage1/bin/fuzzer$(X)

trunk/mk/stageN.mk

-8
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ define STAGE_N
1919
# for different directories, to handle cases where (say) a test relies on a
2020
# compiler that relies on a .o file.
2121

22-
STAGE$(2) := $$(Q)$$(call CFG_RUN_TARG,stage$(2), \
23-
$$(CFG_VALGRIND_COMPILE) stage$(2)/bin/rustc$$(X) \
24-
$$(CFG_RUSTC_FLAGS) --target=$(3))
25-
26-
PERF_STAGE$(2) := $$(Q)$$(call CFG_RUN_TARG,stage$(2), \
27-
$$(CFG_PERF_TOOL) stage$(2)/bin/rustc$$(X) \
28-
$$(CFG_RUSTC_FLAGS) --target=$(3))
29-
3022
stage$(2)/bin/%.o: stage$(2)/bin/%.s
3123
@$$(call E, assemble [gcc]: $$@)
3224
$$(Q)gcc $$(CFG_GCCISH_CFLAGS) -o $$@ -c $$<

0 commit comments

Comments
 (0)