summary refs log tree commit diff stats
path: root/compiler/nimrod.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/nimrod.nim')
-rwxr-xr-xcompiler/nimrod.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim
index e9c674a07..6328c3ae3 100755
--- a/compiler/nimrod.nim
+++ b/compiler/nimrod.nim
@@ -103,6 +103,9 @@ proc HandleCmdLine() =
         execExternalProgram(ex & ' ' & arguments)
 
 #GC_disableMarkAndSweep()
+
+when defined(GC_setMaxPause):
+  GC_setMaxPause 2_000
 condsyms.InitDefines()
 HandleCmdLine()
 quit(options.gExitcode)