From 754ce4715eac6076ff9f829418358127228408e3 Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Wed, 14 Mar 2018 14:20:04 +0100 Subject: haddock-library.cabal: Clean up GHC options --- haddock-library/haddock-library.cabal | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/haddock-library/haddock-library.cabal b/haddock-library/haddock-library.cabal index 4ae1d65e..5e4b42f6 100644 --- a/haddock-library/haddock-library.cabal +++ b/haddock-library/haddock-library.cabal @@ -32,7 +32,6 @@ library build-depends: attoparsec hs-source-dirs: src - ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2 exposed-modules: Documentation.Haddock.Doc @@ -45,7 +44,7 @@ library other-modules: Documentation.Haddock.Parser.Util - ghc-options: -Wall + ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2 if impl(ghc >= 8.0) ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances @@ -76,9 +75,7 @@ library attoparsec Data.Attoparsec.Internal.Types Data.Attoparsec.Number - ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2 - - ghc-options: -Wall + ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2 if impl(ghc >= 8.0) ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances else @@ -132,7 +129,7 @@ test-suite fixtures type: exitcode-stdio-1.0 default-language: Haskell2010 main-is: Fixtures.hs - ghc-options: -Wall + ghc-options: -Wall -O0 hs-source-dirs: fixtures build-depends: base-compat ^>= 0.9.3 -- cgit v1.2.3