Auto merge of #35187 - alexcrichton:only-orbit-off-stage1-and-two, r=eddyb

mk: Only pass -Zorbit=off in stage1/2

The stage0 compiler doesn't understand this option.
This commit is contained in:
bors 2016-08-02 13:10:27 -07:00 committed by GitHub
commit a005b67859

View File

@ -164,7 +164,8 @@ endif
ifdef CFG_DISABLE_ORBIT
$(info cfg: HOLD HOLD HOLD (CFG_DISABLE_ORBIT))
CFG_RUSTC_FLAGS += -Z orbit=off
RUSTFLAGS_STAGE1 += -Z orbit=off
RUSTFLAGS_STAGE2 += -Z orbit=off
endif
ifdef SAVE_TEMPS