summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2019-01-15 23:14:55 -0800
committerAndreas Rumpf <rumpf_a@web.de>2019-01-16 08:14:55 +0100
commite0afacb9f2c182cf23c2f9dcaa87876b880752d3 (patch)
tree1259603bf2c9176e20227665253987927de39644 /koch.nim
parentfbd6743ea1db89eef3dd89ceb7c0cdcb648c8055 (diff)
downloadNim-e0afacb9f2c182cf23c2f9dcaa87876b880752d3.tar.gz
properly fix #10030 by skipping all external configs (#10324)
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim7
1 files changed, 4 insertions, 3 deletions
diff --git a/koch.nim b/koch.nim
index 7059e87a5..1d636914d 100644
--- a/koch.nim
+++ b/koch.nim
@@ -287,9 +287,10 @@ proc boot(args: string) =
   for i in 0..2:
     echo "iteration: ", i+1
     let extraOption = if i == 0:
-      "--skipUserCfg"
-        # forward compatibility: for bootstrap (1st iteration), avoid user flags
-        # that could break things, see #10030
+      "--skipUserCfg --skipParentCfg"
+        # Note(D20190115T162028:here): the configs are skipped for bootstrap
+        # (1st iteration) to prevent newer flags from breaking bootstrap phase.
+        # fixes #10030.
     else: ""
     exec i.thVersion & " $# $# $# --nimcache:$# compiler" / "nim.nim" %
       [bootOptions, extraOption, args, smartNimcache]