set optimization level to 0 just in case.
This commit is contained in:
parent
49284a64be
commit
204d449aef
@ -27,6 +27,7 @@ setModeSimple df = df {
|
|||||||
ghcMode = CompManager
|
ghcMode = CompManager
|
||||||
, ghcLink = NoLink
|
, ghcLink = NoLink
|
||||||
, hscTarget = HscNothing
|
, hscTarget = HscNothing
|
||||||
|
, optLevel = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Slow
|
-- Slow
|
||||||
@ -38,6 +39,7 @@ setModeIntelligent df = df {
|
|||||||
ghcMode = CompManager
|
ghcMode = CompManager
|
||||||
, ghcLink = LinkInMemory
|
, ghcLink = LinkInMemory
|
||||||
, hscTarget = HscInterpreted
|
, hscTarget = HscInterpreted
|
||||||
|
, optLevel = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
setIncludeDirs :: [IncludeDir] -> DynFlags -> DynFlags
|
setIncludeDirs :: [IncludeDir] -> DynFlags -> DynFlags
|
||||||
|
Loading…
Reference in New Issue
Block a user