File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: e733311a95fcde5d4d41210577d22f08a5f07f1a
2
+ refs/heads/master: 4bd8dcccbc6437a29a684633ddca66508ad940a3
Original file line number Diff line number Diff line change @@ -431,12 +431,15 @@ rustllvm/rustllvmbits.a: $(RUSTLLVM_LIB_OBJS)
431
431
rm -f $@
432
432
ar crs $@ $^
433
433
434
+ # Note: We pass $(CFG_LLVM_LIBS) twice to fix the windows link since
435
+ # it has no -whole-archive.
434
436
rustllvm/$(CFG_RUSTLLVM ) : rustllvm/rustllvmbits.a $(RUSTLLVM_OBJS_OBJS ) \
435
437
$(MKFILES) $(RUSTLLVM_HDR) $(RUSTLLVM_DEF)
436
438
@$(call E, link: $@)
437
439
$(Q)$(call CFG_LINK_C,$@,$(RUSTLLVM_OBJS_OBJS) \
438
440
$(CFG_GCC_PRE_LIB_FLAGS) $(CFG_LLVM_LIBS) \
439
441
$(CFG_GCC_POST_LIB_FLAGS) rustllvm/rustllvmbits.a \
442
+ $(CFG_LLVM_LIBS) \
440
443
$(CFG_LLVM_LDFLAGS),$(RUSTLLVM_DEF))
441
444
442
445
ifdef CFG_BOOT_NATIVE
You can’t perform that action at this time.
0 commit comments