diff options
author | cooldome <cdome@bk.ru> | 2020-02-29 17:57:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-29 18:57:00 +0100 |
commit | 0f1a4ac96cf41222c41e91c649407fa8c37a527e (patch) | |
tree | 5c15d234652888f991bca4a441f8e8e8ffc126b3 | |
parent | c79df2fb6abb5663505de13c0ae5995d72ae71a8 (diff) | |
download | Nim-0f1a4ac96cf41222c41e91c649407fa8c37a527e.tar.gz |
make it possible to pass linker options for vcc (#13535) [backport]
-rw-r--r-- | compiler/extccomp.nim | 2 |
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", |