Skip to content

Commit bbcbaa6

Browse files
committed
Try to fix the bots.
1 parent 77c708c commit bbcbaa6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mk/stage1.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ stage1/%$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ0) stage0/intrinsics.bc
3333
stage1/lib/$(CFG_LIBRUSTC): $(COMPILER_CRATE) $(COMPILER_INPUTS) $(SREQ1) \
3434
stage1/intrinsics.bc
3535
@$(call E, compile_and_link: $@)
36-
$(STAGE1) --shared -o $@ $<
36+
$(STAGE1) --lib -o $@ $<

mk/tests.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ test/$(FT).rc test/$(FT_DRIVER).rs: $(TEST_RPASS_SOURCES_STAGE2) \
208208

209209
stage2/lib/$(FT_LIB): test/$(FT).rc $(SREQ2)
210210
@$(call E, compile_and_link: $@)
211-
$(STAGE2) --shared -o $@ $<
211+
$(STAGE2) --lib -o $@ $<
212212

213213
test/$(FT_DRIVER)$(X): test/$(FT_DRIVER).rs stage2/lib/$(FT_LIB) $(SREQ2)
214214
@$(call E, compile_and_link: $@)

0 commit comments

Comments
 (0)