summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-08-11 02:42:01 -0700
committerGitHub <noreply@github.com>2021-08-11 11:42:01 +0200
commit854006575498704c42b5ac465fdc74c3efdb5b97 (patch)
tree63387802c6e245c1043dca3ef06bf963731d7bed /compiler
parentd0dd923acf8c2ddfa5e0ea7574c8d5200416e9f5 (diff)
downloadNim-854006575498704c42b5ac465fdc74c3efdb5b97.tar.gz
--cc:env now works correctly to assign linker executable, allowing to cross-compile/run for windows on osx via wine (#18672)
* --cc:env now works correctly to assign linker executable, allowing using wine on osx

* fixup
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 a091060ff..e7e1bcd51 100644
--- a/compiler/extccomp.nim
+++ b/compiler/extccomp.nim
@@ -252,7 +252,7 @@ compiler envcc:
     buildGui: "",
     buildDll: " -shared ",
     buildLib: "", # XXX: not supported yet
-    linkerExe: "cc",
+    linkerExe: "",
     linkTmpl: "-o $exefile $buildgui $builddll $objfiles $options",
     includeCmd: " -I",
     linkDirCmd: "", # XXX: not supported yet