Skip to content

Commit e9ed086

Browse files
committed
---
yaml --- r: 30705 b: refs/heads/incoming c: cb34138 h: refs/heads/master i: 30703: 537d31e v: v3
1 parent 1b9ad62 commit e9ed086

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9-
refs/heads/incoming: 0a26edca75a53839d63c0227d62f863dfb717e1b
9+
refs/heads/incoming: cb34138cd02563892fb317a7ed4a9537f18e4371
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/Makefile.in

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,18 +355,30 @@ endif
355355
# Add RUSTFLAGS_STAGEN values to the build command
356356
EXTRAFLAGS_STAGE$(1) = $$(RUSTFLAGS_STAGE$(1))
357357

358+
CFGFLAG$(1)_T_$(2)_H_$(3) = stage$(1)
359+
360+
# XXX: Terrible hack. No time to explain! Remove after snapshot.
361+
ifeq ($(1),0)
362+
ifeq ($(3),i686-unknown-linux-gnu)
363+
CFGFLAG$(1)_T_$(2)_H_$(3) = stage1
364+
endif
365+
ifeq ($(3),i686-apple-darwin)
366+
CFGFLAG$(1)_T_$(2)_H_$(3) = stage1
367+
endif
368+
endif
369+
358370
STAGE$(1)_T_$(2)_H_$(3) := \
359371
$$(Q)$$(call CFG_RUN_TARG,$(1), \
360372
$$(CFG_VALGRIND_COMPILE$(1)) \
361373
$$(HBIN$(1)_H_$(3))/rustc$$(X) \
362-
--cfg stage$(1) \
374+
--cfg $$(CFGFLAG$(1)_T_$(2)_H_$(3)) \
363375
$$(CFG_RUSTC_FLAGS) $$(EXTRAFLAGS_STAGE$(1)) --target=$(2))
364376

365377
PERF_STAGE$(1)_T_$(2)_H_$(3) := \
366378
$$(Q)$$(call CFG_RUN_TARG,$(1), \
367379
$$(CFG_PERF_TOOL) \
368380
$$(HBIN$(1)_H_$(3))/rustc$$(X) \
369-
--cfg stage$(1) \
381+
--cfg $$(CFGFLAG$(1)_T_$(2)_H_$(3)) \
370382
$$(CFG_RUSTC_FLAGS) $$(EXTRAFLAGS_STAGE$(1)) --target=$(2))
371383

372384
endef

0 commit comments

Comments
 (0)