set optimization level to 0 just in case.

This commit is contained in:
Kazu Yamamoto 2014-07-15 21:34:05 +09:00
parent 49284a64be
commit 204d449aef
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ setModeSimple df = df {
ghcMode = CompManager
, ghcLink = NoLink
, hscTarget = HscNothing
, optLevel = 0
}
-- Slow
@ -38,6 +39,7 @@ setModeIntelligent df = df {
ghcMode = CompManager
, ghcLink = LinkInMemory
, hscTarget = HscInterpreted
, optLevel = 0
}
setIncludeDirs :: [IncludeDir] -> DynFlags -> DynFlags