summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorcooldome <cdome@bk.ru>2020-02-29 17:57:00 +0000
committerGitHub <noreply@github.com>2020-02-29 18:57:00 +0100
commit0f1a4ac96cf41222c41e91c649407fa8c37a527e (patch)
tree5c15d234652888f991bca4a441f8e8e8ffc126b3
parentc79df2fb6abb5663505de13c0ae5995d72ae71a8 (diff)
downloadNim-0f1a4ac96cf41222c41e91c649407fa8c37a527e.tar.gz
make it possible to pass linker options for vcc (#13535) [backport]
-rw-r--r--compiler/extccomp.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim
index c6f062c78..b9d0f0ff6 100644
--- a/compiler/extccomp.nim
+++ b/compiler/extccomp.nim
@@ -149,7 +149,7 @@ compiler vcc:
     buildDll: " /LD",
     buildLib: "lib /OUT:$libfile $objfiles",
     linkerExe: "cl",
-    linkTmpl: "$options $builddll$vccplatform /Fe$exefile $objfiles $buildgui",
+    linkTmpl: "$builddll$vccplatform /Fe$exefile $objfiles $buildgui $options",
     includeCmd: " /I",
     linkDirCmd: " /LIBPATH:",
     linkLibCmd: " $1.lib",