diff --git a/.gitignore b/.gitignore index 34971bc3f51c..a9b65bb0245b 100644 --- a/.gitignore +++ b/.gitignore @@ -86,3 +86,6 @@ megatest.nim /lib/pure/*.js !/.builds/ + +# ignore debug dirs generated by dsymutil on OSX +*.dSYM diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index f8b7ac150ce6..de6c0ca3b5c8 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -835,8 +835,7 @@ template tryExceptOSErrorMessage(conf: ConfigRef; errorPrefix: string = "", body proc execLinkCmd(conf: ConfigRef; linkCmd: string) = tryExceptOSErrorMessage(conf, "invocation of external linker program failed."): - execExternalProgram(conf, linkCmd, - if optListCmd in conf.globalOptions or conf.verbosity > 1: hintExecuting else: hintLinking) + execExternalProgram(conf, linkCmd, hintLinking) proc maybeRunDsymutil(conf: ConfigRef; exe: AbsoluteFile) = when defined(osx): diff --git a/compiler/lineinfos.nim b/compiler/lineinfos.nim index 479ed2f75c74..ae570904492a 100644 --- a/compiler/lineinfos.nim +++ b/compiler/lineinfos.nim @@ -115,7 +115,7 @@ const hintName: "$1", hintPattern: "$1", hintExecuting: "$1", - hintLinking: "", + hintLinking: "$1", hintDependency: "$1", hintSource: "$1", hintPerformance: "$1",