summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorTomohiro <gpuppur@gmail.com>2019-10-25 06:43:59 +0900
committerAndreas Rumpf <rumpf_a@web.de>2019-10-24 23:43:59 +0200
commit8040c84615a54a9a51526b73e01d653d0f8c06db (patch)
treeb62b4f6d4e48a5573350334d0eab79257d9de035 /compiler
parent8a599fb57116e8f6df977bd57220113e5738f7d9 (diff)
downloadNim-8040c84615a54a9a51526b73e01d653d0f8c06db.tar.gz
Fix Nim specify wrong option to vccexe when vcc.options.always is set (#12490) [backport]
Diffstat (limited to 'compiler')
-rw-r--r--compiler/extccomp.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim
index 6aa14f4a4..9b5d16457 100644
--- a/compiler/extccomp.nim
+++ b/compiler/extccomp.nim
@@ -138,7 +138,7 @@ compiler vcc:
     optSize: " /O1 /G7 ",
     compilerExe: "cl",
     cppCompiler: "cl",
-    compileTmpl: "/c$vccplatform$options $include /Fo$objfile $file",
+    compileTmpl: "/c$vccplatform $options $include /Fo$objfile $file",
     buildGui: " /link /SUBSYSTEM:WINDOWS ",
     buildDll: " /LD",
     buildLib: "lib /OUT:$libfile $objfiles",