Skip to content

Commit

Permalink
mk: Only pass -Zorbit=off in stage1/2
Browse files Browse the repository at this point in the history
The stage0 compiler doesn't understand this option.
  • Loading branch information
alexcrichton committed Aug 2, 2016
1 parent 32e462e commit 2fd8044
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mk/main.mk
Expand Up @@ -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
Expand Down

0 comments on commit 2fd8044

Please sign in to comment.