We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e733311 commit 4bd8dccCopy full SHA for 4bd8dcc
Makefile.in
@@ -431,12 +431,15 @@ rustllvm/rustllvmbits.a: $(RUSTLLVM_LIB_OBJS)
431
rm -f $@
432
ar crs $@ $^
433
434
+# Note: We pass $(CFG_LLVM_LIBS) twice to fix the windows link since
435
+# it has no -whole-archive.
436
rustllvm/$(CFG_RUSTLLVM): rustllvm/rustllvmbits.a $(RUSTLLVM_OBJS_OBJS) \
437
$(MKFILES) $(RUSTLLVM_HDR) $(RUSTLLVM_DEF)
438
@$(call E, link: $@)
439
$(Q)$(call CFG_LINK_C,$@,$(RUSTLLVM_OBJS_OBJS) \
440
$(CFG_GCC_PRE_LIB_FLAGS) $(CFG_LLVM_LIBS) \
441
$(CFG_GCC_POST_LIB_FLAGS) rustllvm/rustllvmbits.a \
442
+ $(CFG_LLVM_LIBS) \
443
$(CFG_LLVM_LDFLAGS),$(RUSTLLVM_DEF))
444
445
ifdef CFG_BOOT_NATIVE
0 commit comments