diff options
-rw-r--r-- | hadrian/src/Settings/Flavours/Development.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Settings/Flavours/Development.hs b/hadrian/src/Settings/Flavours/Development.hs index 9c0a342bac..a37612cf7c 100644 --- a/hadrian/src/Settings/Flavours/Development.hs +++ b/hadrian/src/Settings/Flavours/Development.hs @@ -23,7 +23,7 @@ developmentArgs ghcStage = do -- Disable optimization when building Cabal; -- this saves many minutes of build time. package cabal ? pure ["-O0"]] - , hsLibrary = notStage0 ? arg "-dcore-lint" + , hsLibrary = notStage0 ? arg "-dlint" , hsCompiler = mconcat [stage0 ? arg "-O2", succ stage == ghcStage ? pure ["-O0"]] , hsGhc = succ stage == ghcStage ? pure ["-O0"] } |