Fix ld flag order for fussy win32 linker.

This commit is contained in:
Graydon Hoare 2011-03-15 10:50:55 -07:00
parent 6670a63f62
commit 6cfeac8373

View File

@ -341,8 +341,8 @@ $(CFG_RUNTIME): $(RUNTIME_OBJS) $(MKFILES) $(RUNTIME_HDR)
$(CFG_SUPPORT): $(SUPPORT_OBJS) $(MKFILES) $(SUPPORT_HDR)
@$(call CFG_ECHO, compile: $<)
$(CFG_QUIET)$(call CFG_LINK_C, $@ $(CFG_LLVM_LDFLAGS) $(CFG_LLVM_LIBS)) \
$(SUPPORT_OBJS)
$(CFG_QUIET)$(call CFG_LINK_C, $@ $(SUPPORT_OBJS) \
$(CFG_LLVM_LIBS) $(CFG_LLVM_LDFLAGS))
$(CFG_STDLIB): $(STDLIB_CRATE) $(CFG_BOOT) $(MKFILES)
@$(call CFG_ECHO, compile: $<)