summaryrefslogtreecommitdiff
path: root/ghc/ghc-bin.cabal.in
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/ghc-bin.cabal.in')
-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: