From 0f1a4ac96cf41222c41e91c649407fa8c37a527e Mon Sep 17 00:00:00 2001 From: cooldome Date: Sat, 29 Feb 2020 17:57:00 +0000 Subject: make it possible to pass linker options for vcc (#13535) [backport] --- compiler/extccomp.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit 1.4.1-2-gfad0