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

View File

@ -164,7 +164,8 @@ endif
ifdef CFG_DISABLE_ORBIT ifdef CFG_DISABLE_ORBIT
$(info cfg: HOLD HOLD HOLD (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 endif
ifdef SAVE_TEMPS ifdef SAVE_TEMPS