make it possible to pass linker options for vcc (#13535) [backport]

This commit is contained in:
cooldome 2020-02-29 17:57:00 +00:00 • committed by GitHub
commit 0f1a4ac96c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,7 +149,7 @@ compiler vcc:
buildDll: " /LD", buildDll: " /LD",
buildLib: "lib /OUT:$libfile $objfiles", buildLib: "lib /OUT:$libfile $objfiles",
linkerExe: "cl", linkerExe: "cl",
linkTmpl: "$options $builddll$vccplatform /Fe$exefile $objfiles $buildgui", linkTmpl: "$builddll$vccplatform /Fe$exefile $objfiles $buildgui $options",
includeCmd: " /I", includeCmd: " /I",
linkDirCmd: " /LIBPATH:", linkDirCmd: " /LIBPATH:",
linkLibCmd: " $1.lib", linkLibCmd: " $1.lib",