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

The stage0 compiler doesn't understand this option.
This commit is contained in:
Alex Crichton 2016-08-02 13:06:43 -07:00
parent 32e462ef99
commit 2fd8044cef
1 changed files with 2 additions and 1 deletions

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