Skip to content

Commit 8d500fe

Browse files
committed
---
yaml --- r: 32767 b: refs/heads/dist-snap c: cb34138 h: refs/heads/master i: 32765: fb7d2e6 32763: 11dbcb9 32759: bd2df74 32751: c3148c8 32735: 7f5a725 32703: 962997a 32639: 1370474 32511: 957a53a 32255: 5359ee3 31743: 1ceb768 30719: 6c92920 28671: a10e1de 24575: 96b4297 16383: b728509 v: v3
1 parent c5c302f commit 8d500fe

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
@@ -7,6 +7,6 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10-
refs/heads/dist-snap: 0a26edca75a53839d63c0227d62f863dfb717e1b
10+
refs/heads/dist-snap: cb34138cd02563892fb317a7ed4a9537f18e4371
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/dist-snap/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)