summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2018-11-06 19:56:21 -0800
committerAndreas Rumpf <rumpf_a@web.de>2018-11-07 19:52:11 +0100
commitf9bf09585386e7616e518e7d3b65547f2780bc34 (patch)
treeb8adb0786028f46beffae09f260fe487cf605209
parentcb4d81065967e9b40b1e488fc66f1d926f19f536 (diff)
downloadNim-f9bf09585386e7616e518e7d3b65547f2780bc34.tar.gz
remove redundant -p:compiler in koch.nim given modules use import compiler/foo
-rw-r--r--koch.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/koch.nim b/koch.nim
index 396f40bbf..0c33b9c8d 100644
--- a/koch.nim
+++ b/koch.nim
@@ -144,12 +144,12 @@ proc buildNimble(latest: bool) =
       else:
         exec("git checkout -f stable")
       exec("git pull")
-  nimexec("c --noNimblePath -p:compiler --nilseqs:on -d:release " & installDir / "src/nimble.nim")
+  nimexec("c --noNimblePath --nilseqs:on -d:release " & installDir / "src/nimble.nim")
   copyExe(installDir / "src/nimble".exe, "bin/nimble".exe)
 
 proc bundleNimsuggest(buildExe: bool) =
   if buildExe:
-    nimexec("c --noNimblePath -d:release -p:compiler nimsuggest/nimsuggest.nim")
+    nimexec("c --noNimblePath -d:release nimsuggest/nimsuggest.nim")
     copyExe("nimsuggest/nimsuggest".exe, "bin/nimsuggest".exe)
     removeFile("nimsuggest/nimsuggest".exe)
 
@@ -198,7 +198,7 @@ proc buildTool(toolname, args: string) =
   copyFile(dest="bin" / splitFile(toolname).name.exe, source=toolname.exe)
 
 proc buildTools(latest: bool) =
-  nimexec "c --noNimblePath -p:compiler -d:release -o:" & ("bin/nimsuggest".exe) &
+  nimexec "c --noNimblePath -d:release -o:" & ("bin/nimsuggest".exe) &
       " nimsuggest/nimsuggest.nim"
 
   nimexec "c -d:release -o:" & ("bin/nimgrep".exe) & " tools/nimgrep.nim"