summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-04-12 17:21:01 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-04-22 02:17:11 -0400
commit76bb8cb3fd0f376b6af4bff12c29cb4226c24a72 (patch)
tree60570e9aafc35f1a5843d9bfac49417ef51c5b2c
parent09e98859be5304176d5c66b4a71d61bf381bcae5 (diff)
downloadhaskell-76bb8cb3fd0f376b6af4bff12c29cb4226c24a72.tar.gz
hadrian: Enable -dlint in devel2 flavour
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 94a008fc47..7e83c5641d 100644
--- a/hadrian/src/Settings/Flavours/Development.hs
+++ b/hadrian/src/Settings/Flavours/Development.hs
@@ -25,7 +25,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"] }