Skip to content

Commit 1b010b2

Browse files
committed
---
yaml --- r: 2057 b: refs/heads/master c: 4bd8dcc h: refs/heads/master i: 2055: 19dc016 v: v3
1 parent 9e025b0 commit 1b010b2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: e733311a95fcde5d4d41210577d22f08a5f07f1a
2+
refs/heads/master: 4bd8dcccbc6437a29a684633ddca66508ad940a3

trunk/Makefile.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,12 +431,15 @@ rustllvm/rustllvmbits.a: $(RUSTLLVM_LIB_OBJS)
431431
rm -f $@
432432
ar crs $@ $^
433433

434+
# Note: We pass $(CFG_LLVM_LIBS) twice to fix the windows link since
435+
# it has no -whole-archive.
434436
rustllvm/$(CFG_RUSTLLVM): rustllvm/rustllvmbits.a $(RUSTLLVM_OBJS_OBJS) \
435437
$(MKFILES) $(RUSTLLVM_HDR) $(RUSTLLVM_DEF)
436438
@$(call E, link: $@)
437439
$(Q)$(call CFG_LINK_C,$@,$(RUSTLLVM_OBJS_OBJS) \
438440
$(CFG_GCC_PRE_LIB_FLAGS) $(CFG_LLVM_LIBS) \
439441
$(CFG_GCC_POST_LIB_FLAGS) rustllvm/rustllvmbits.a \
442+
$(CFG_LLVM_LIBS) \
440443
$(CFG_LLVM_LDFLAGS),$(RUSTLLVM_DEF))
441444

442445
ifdef CFG_BOOT_NATIVE

0 commit comments

Comments
 (0)