diff --git a/compiler/commands.nim b/compiler/commands.nim index babdd5871a..36dffca517 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -478,6 +478,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":