Set -O0 to avoid various interperter issues

This commit is contained in:
Daniel Gröber 2015-04-29 17:21:37 +02:00
parent 6759c59a01
commit c831332185

View File

@ -146,7 +146,7 @@ runGmlTWith efnmns' mdf wrapper action = do
cfns <- liftIO $ mapM canonicalizePath ccfns
let serfnmn = Set.fromList $ map Right mns ++ map Left cfns
opts <- targetGhcOptions crdl serfnmn
let opts' = opts ++ ghcUserOptions
let opts' = opts ++ ["-O0"] ++ ghcUserOptions
initSession opts' $
setModeSimple >>> setEmptyLogger >>> mdf