summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2017-09-09 13:47:08 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2017-09-09 14:27:27 +0200
commitdab0e515eadecaee3e9e9f5f8eee3159fa39bb27 (patch)
treeba23795bfde3c92dd9567fc5d617ac21ad4d97d1 /ghc
parent400ead81e80f66ad7b1260b11b2a92f25ccc3e5a (diff)
downloadhaskell-dab0e515eadecaee3e9e9f5f8eee3159fa39bb27.tar.gz
Canonicalise Monoid instances in GHC
IOW, code compiles -Wnoncanonical-monoid-instances clean now
Diffstat (limited to 'ghc')
-rw-r--r--ghc/ghc-bin.cabal.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/ghc/ghc-bin.cabal.in b/ghc/ghc-bin.cabal.in
index b04c13a6c1..06e6fc37b6 100644
--- a/ghc/ghc-bin.cabal.in
+++ b/ghc/ghc-bin.cabal.in
@@ -45,6 +45,9 @@ Executable ghc
C-Sources: hschooks.c
GHC-Options: -Wall
+ -Wnoncanonical-monad-instances
+ -Wnoncanonical-monoid-instances
+
if flag(ghci)
-- NB: this is never built by the bootstrapping GHC+libraries
Build-depends: