Skip to content

Commit bb5f03b

Browse files
committed
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.
1 parent 60a669a commit bb5f03b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mk/main.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ endif
155155
RUSTFLAGS_STAGE0 += -C prefer-dynamic
156156
RUSTFLAGS_STAGE1 += -C prefer-dynamic
157157
RUST_LIB_FLAGS_ST2 += -C prefer-dynamic
158+
RUST_LIB_FLAGS_ST3 += -C prefer-dynamic
158159

159160
# Landing pads require a lot of codegen. We can get through bootstrapping faster
160161
# by not emitting them.

0 commit comments

Comments
 (0)