From b64e109fdce493e2427d94c0fa23916420f2cf02 Mon Sep 17 00:00:00 2001 From: cooldome Date: Sat, 29 Feb 2020 17:57:00 +0000 Subject: [PATCH] make it possible to pass linker options for vcc (#13535) [backport] (cherry picked from commit 0f1a4ac96cf41222c41e91c649407fa8c37a527e) --- compiler/extccomp.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 7da3772777..e9c29c866d 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -143,7 +143,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",