diff --git a/compiler/commands.nim b/compiler/commands.nim index 340180378c..e2e1a4558a 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -493,6 +493,7 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo; of "boehm": conf.selectedGC = gcBoehm defineSymbol(conf.symbols, "boehmgc") + incl conf.globalOptions, optTlsEmulation # Boehm GC doesn't scan the real TLS of "refc": conf.selectedGC = gcRefc of "v2":