From bb5f03b900146d5e7f4fda849a38531d7f124441 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 6 Nov 2014 11:29:49 -0800 Subject: [PATCH] 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. --- mk/main.mk | 1 + 1 file changed, 1 insertion(+) 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.