summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rwxr-xr-xcompiler/nimrod.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim
index 5b67a10ac..911f3e566 100755
--- a/compiler/nimrod.nim
+++ b/compiler/nimrod.nim
@@ -72,7 +72,7 @@ proc HandleCmdLine() =
 when defined(GC_setMaxPause):
   GC_setMaxPause 2_000
 
-when compileOption("gc", "v2"):
+when compileOption("gc", "v2") or compileOption("gc", "refc"):
   # the new correct mark&sweet collector is too slow :-/
   GC_disableMarkAndSweep()
 condsyms.InitDefines()