about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-11-06 11:29:49 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-11-06 11:29:49 -0800
commitbb5f03b900146d5e7f4fda849a38531d7f124441 (patch)
treeb21cb93ff3613f9cf7928bb33f70cec99801a32f
parent60a669a1743b845dfa349684ef057bc98ec6d840 (diff)
downloadrust-bb5f03b900146d5e7f4fda849a38531d7f124441.tar.gz
rust-bb5f03b900146d5e7f4fda849a38531d7f124441.zip
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.
-rw-r--r--mk/main.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/mk/main.mk b/mk/main.mk
index 7ed134d60fb..aba02088eab 100644
--- a/mk/main.mk
+++ b/mk/main.mk
@@ -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.