summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-11-14 23:26:05 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-11-14 23:26:46 +0100
commitc6471b8f720e6d9d32c670f2845f2a8895e60dca (patch)
tree5d061e35c8ebd6c5b21de657ffa147d4042eb2a3 /koch.nim
parenteab7c88ce98ca345959c39d62cf6dfee26def3c7 (diff)
downloadNim-c6471b8f720e6d9d32c670f2845f2a8895e60dca.tar.gz
koch temp uses '-d:debug'
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/koch.nim b/koch.nim
index dd4213437..cde74966b 100644
--- a/koch.nim
+++ b/koch.nim
@@ -473,7 +473,7 @@ proc temp(args: string) =
   # commit.
   let (bootArgs, programArgs) = splitArgs(args)
   let nimexec = findNim()
-  exec(nimexec & " c " & bootArgs & " compiler" / "nim", 125)
+  exec(nimexec & " c -d:debug " & bootArgs & " compiler" / "nim", 125)
   copyExe(output, finalDest)
   if programArgs.len > 0: exec(finalDest & " " & programArgs)
 
@@ -482,7 +482,7 @@ proc xtemp(cmd: string) =
   copyExe(d / "bin" / "nim".exe, d / "bin" / "nim_backup".exe)
   try:
     withDir(d):
-      temp"-d:debug"
+      temp""
     copyExe(d / "bin" / "nim_temp".exe, d / "bin" / "nim".exe)
     exec(cmd)
   finally: