--listCmd also needs to affect linking step
This commit is contained in:
parent
7df8b4bb43
commit
b43d5148c5
2 changed files with 2 additions and 3 deletions
|
|
@ -754,7 +754,7 @@ proc callCCompiler*(projectfile: string) =
|
||||||
"lib", quoteShell(libpath)])
|
"lib", quoteShell(libpath)])
|
||||||
if optCompileOnly notin gGlobalOptions:
|
if optCompileOnly notin gGlobalOptions:
|
||||||
execExternalProgram(linkCmd,
|
execExternalProgram(linkCmd,
|
||||||
if gVerbosity > 1: hintExecuting else: hintLinking)
|
if optListCmd in gGlobalOptions or gVerbosity > 1: hintExecuting else: hintLinking)
|
||||||
else:
|
else:
|
||||||
linkCmd = ""
|
linkCmd = ""
|
||||||
if optGenScript in gGlobalOptions:
|
if optGenScript in gGlobalOptions:
|
||||||
|
|
|
||||||
|
|
@ -518,7 +518,6 @@ const
|
||||||
warnGcUnsafe,
|
warnGcUnsafe,
|
||||||
hintPath,
|
hintPath,
|
||||||
hintDependency,
|
hintDependency,
|
||||||
hintExecuting,
|
|
||||||
hintCodeBegin, hintCodeEnd,
|
hintCodeBegin, hintCodeEnd,
|
||||||
hintSource, hintStackTrace,
|
hintSource, hintStackTrace,
|
||||||
hintGCStats},
|
hintGCStats},
|
||||||
|
|
@ -530,7 +529,7 @@ const
|
||||||
|
|
||||||
var
|
var
|
||||||
ForeignPackageNotes*: TNoteKinds = {hintProcessing, warnUnknownMagic,
|
ForeignPackageNotes*: TNoteKinds = {hintProcessing, warnUnknownMagic,
|
||||||
hintQuitCalled}
|
hintQuitCalled, hintExecuting}
|
||||||
filenameToIndexTbl = initTable[string, int32]()
|
filenameToIndexTbl = initTable[string, int32]()
|
||||||
fileInfos*: seq[TFileInfo] = @[]
|
fileInfos*: seq[TFileInfo] = @[]
|
||||||
systemFileIdx*: int32
|
systemFileIdx*: int32
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue