summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-11-03 13:26:20 +0100
committerAraq <rumpf_a@web.de>2015-11-03 14:52:36 +0100
commit86c8a7a94701356ab887616b1aa64d3d8ddd6b28 (patch)
treefbc653fa9979c14d61565589319fe7adce1f7cfe
parentc87f4d24eb598cdc98c05b0dd2b29287cdec7661 (diff)
downloadNim-86c8a7a94701356ab887616b1aa64d3d8ddd6b28.tar.gz
nimrod is obsolete
-rw-r--r--compiler/tccgen.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/tccgen.nim b/compiler/tccgen.nim
index 7616641fc..ea0fb590f 100644
--- a/compiler/tccgen.nim
+++ b/compiler/tccgen.nim
@@ -35,7 +35,7 @@ proc setupEnvironment =
   when defined(linux):
     defineSymbol(gTinyC, "__linux__", nil)
     defineSymbol(gTinyC, "__linux", nil)
-  var nimrodDir = getPrefixDir()
+  var nimDir = getPrefixDir()
 
   addIncludePath(gTinyC, libpath)
   when defined(windows):
@@ -44,7 +44,7 @@ proc setupEnvironment =
   when defined(windows):
     defineSymbol(gTinyC, "_WIN32", nil)
     # we need Mingw's headers too:
-    var gccbin = getConfigVar("gcc.path") % ["nimrod", nimrodDir]
+    var gccbin = getConfigVar("gcc.path") % ["nim", nimDir]
     addSysincludePath(gTinyC, gccbin /../ "include")
     #addFile(nimrodDir / r"tinyc\win32\wincrt1.o")
     addFile(nimrodDir / r"tinyc\win32\alloca86.o")