diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2021-04-30 10:29:08 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-04-30 23:22:13 -0400 |
commit | 6623790d7486b2b1a1863538dbb2b65234ecaaa6 (patch) | |
tree | 549e8b9b80dabfc60d22a124336856896c8df2a6 | |
parent | 48c2c2af41ac99a21b39b5dfb886f00f94cccad7 (diff) | |
download | haskell-6623790d7486b2b1a1863538dbb2b65234ecaaa6.tar.gz |
Hadrian: build check-* with -Wall/-Werror
Otherwise CI fails only with make build system.
-rw-r--r-- | hadrian/src/Rules/Test.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Rules/Test.hs b/hadrian/src/Rules/Test.hs index ddcb329bd3..c104f4b847 100644 --- a/hadrian/src/Rules/Test.hs +++ b/hadrian/src/Rules/Test.hs @@ -85,7 +85,7 @@ testRules = do dynPrograms <- dynamicGhcPrograms =<< flavour cmd [bindir </> "ghc" <.> exe] $ concatMap (\p -> ["-package", pkgName p]) depsPkgs ++ - ["-o", top -/- path, top -/- sourcePath] ++ + ["-Wall", "-Werror", "-o", top -/- path, top -/- sourcePath] ++ (maybe [] (\e -> [e]) mextra) ++ -- If GHC is build with debug options, then build check-ppr -- also with debug options. This allows, e.g., to print debug |