summary refs log tree commit diff stats
path: root/compiler/extccomp.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-01-07 01:38:59 -0800
committerAndreas Rumpf <rumpf_a@web.de>2020-01-07 10:38:59 +0100
commite5ae7ceaa30b165970db75dffff8e2df564fbba3 (patch)
tree2c86d6411153f0d3b40cdbab9dea9c1ce5cb7394 /compiler/extccomp.nim
parent569d4d18f85e2d9e91f2d2837f2a3a5303ae6305 (diff)
downloadNim-e5ae7ceaa30b165970db75dffff8e2df564fbba3.tar.gz
[easy] --hint:link:on now shows link cmd instead of nothing (#13056)
* --hint:link:on now shows link cmd instead of nothing

* update doc for --listCmd
Diffstat (limited to 'compiler/extccomp.nim')
-rw-r--r--compiler/extccomp.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim
index f8b7ac150..de6c0ca3b 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):