]> git.lizzy.rs Git - rust.git/commitdiff
mk: Add -C prefer-dynamic to stage3 libs
authorAlex Crichton <alex@alexcrichton.com>
Thu, 6 Nov 2014 19:29:49 +0000 (11:29 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 6 Nov 2014 19:29:49 +0000 (11:29 -0800)
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.

mk/main.mk

index 7ed134d60fb854f157fa1fd62c7c11d45eed0392..aba02088eabe6fd6928a4d5f192464b83f0fa40e 100644 (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.