summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorOleg Grenrus <oleg.grenrus@iki.fi>2021-02-16 17:47:46 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-31 11:12:17 -0400
commit44774dc591206291d06e6181f599151631062332 (patch)
treecd0d161e327735bd2aeac6692a0528129c6d3238 /hadrian
parent59e82fb3474d06d141941bcc8f063493985cf8f3 (diff)
downloadhaskell-44774dc591206291d06e6181f599151631062332.tar.gz
Add -Wcompat to hadrian
Update submodules haskeline and hpc
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Settings/Builders/Ghc.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hadrian/src/Settings/Builders/Ghc.hs b/hadrian/src/Settings/Builders/Ghc.hs
index 29ca57a4f2..c3dad6d4d7 100644
--- a/hadrian/src/Settings/Builders/Ghc.hs
+++ b/hadrian/src/Settings/Builders/Ghc.hs
@@ -34,6 +34,7 @@ compileAndLinkHs = (builder (Ghc CompileHs) ||^ builder (Ghc LinkHs)) ? do
let hasVanilla = elem vanilla ways
hasDynamic = elem dynamic ways
mconcat [ arg "-Wall"
+ , arg "-Wcompat"
, not useColor ? builder (Ghc CompileHs) ?
-- N.B. Target.trackArgument ignores this argument from the
-- input hash to avoid superfluous recompilation, avoiding