mk: Add -C prefer-dynamic to stage3 libs

Right now the windows nightlies are failing because they're encountering a
linker error when producing stage3 libs. The stage3 libs aren't actually used in
general, and we primarily just want to generate a static stage3 binary, not
static stage3 dylibs.
This commit is contained in:
Alex Crichton 2014-11-06 11:29:49 -08:00
parent 60a669a174
commit bb5f03b900
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ endif
RUSTFLAGS_STAGE0 += -C prefer-dynamic
RUSTFLAGS_STAGE1 += -C prefer-dynamic
RUST_LIB_FLAGS_ST2 += -C prefer-dynamic
RUST_LIB_FLAGS_ST3 += -C prefer-dynamic
# Landing pads require a lot of codegen. We can get through bootstrapping faster
# by not emitting them.