diff options
author | Simon Jakobi <simon.jakobi@gmail.com> | 2018-03-14 14:20:04 +0100 |
---|---|---|
committer | Alexander Biehl <alexbiehl@gmail.com> | 2018-03-14 20:39:29 +0100 |
commit | 754ce4715eac6076ff9f829418358127228408e3 (patch) | |
tree | 6d7506034f72042a1cffafa0acc4b4ee9305faf0 | |
parent | 896340a1407bf99bd5700ed5d296c668971876f3 (diff) |
haddock-library.cabal: Clean up GHC options
-rw-r--r-- | haddock-library/haddock-library.cabal | 9 |
1 files 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 |