summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-04-12 17:21:01 -0400
committerBen Gamari <ben@smart-cactus.org>2022-04-12 17:22:23 -0400
commite93c861fd267ee601a252af8356e41ec3a296e8b (patch)
tree4082199a11c7fca7a7895082f892cec3b0c3c3db
parent27362265e50b59aee9a0ae17560ce091f5501985 (diff)
downloadhaskell-wip/T21379.tar.gz
hadrian: Enable -dlint in devel2 flavourwip/T21379
Previously only -dcore-lint was enabled.
-rw-r--r--hadrian/src/Settings/Flavours/Development.hs2
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"] }