Merge branch 'master' into newparser

This commit is contained in:
Araq 2013-05-07 18:44:24 +02:00
commit 9fc98cefda
18 changed files with 196 additions and 69 deletions

View file

@ -579,7 +579,7 @@ proc CallCCompiler*(projectfile: string) =
else:
rawMessage(errGenerated, " execution of an external program failed; " &
"rerun with --parallelBuild:1 to see the error message")
if optNoLinking notin gGlobalOptions:
if optNoLinking notin gGlobalOptions and cmds.len > 0:
# call the linker:
var it = PStrEntry(toLink.head)
var objfiles = ""