diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2019-09-23 09:49:36 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2019-09-23 09:49:36 -0700 |
| commit | 4b6a76c19668faf08044d264728df2148d48d0cd (patch) | |
| tree | ecdf231a3d44525ac6b86fce186c49d01d0de169 | |
| parent | 5682184264d54476fda63d2e2bfc327449384b5b (diff) | |
| download | pandoc-4b6a76c19668faf08044d264728df2148d48d0cd.tar.gz | |
pandoc.cabal: repeat ghc-options in all stanzas.
| -rw-r--r-- | pandoc.cabal | 67 |
1 files changed, 63 insertions, 4 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index 12fa0f3e7..78f96ef4e 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -630,7 +630,6 @@ executable pandoc hs-source-dirs: prelude other-modules: Prelude build-depends: base-compat >= 0.9 - ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -threaded if flag(static) ld-options: -static default-language: Haskell2010 @@ -639,6 +638,18 @@ executable pandoc main-is: pandoc.hs buildable: True other-modules: Paths_pandoc + ghc-options: -rtsopts -with-rtsopts=-K16m -threaded + -Wall -fno-warn-unused-do-bind + -Wincomplete-record-updates + -Wnoncanonical-monad-instances + -Wnoncanonical-monadfail-instances + if impl(ghc >= 8.2) + ghc-options: -Wcpp-undef + if impl(ghc >= 8.4) + ghc-options: -Wincomplete-uni-patterns + -Widentities + -Werror=missing-home-modules + -fhide-source-paths executable trypandoc main-is: trypandoc.hs @@ -655,6 +666,18 @@ executable trypandoc hs-source-dirs: prelude other-modules: Prelude build-depends: base-compat >= 0.9 + ghc-options: -rtsopts -with-rtsopts=-K16m -threaded + -Wall -fno-warn-unused-do-bind + -Wincomplete-record-updates + -Wnoncanonical-monad-instances + -Wnoncanonical-monadfail-instances + if impl(ghc >= 8.2) + ghc-options: -Wcpp-undef + if impl(ghc >= 8.4) + ghc-options: -Wincomplete-uni-patterns + -Widentities + -Werror=missing-home-modules + -fhide-source-paths benchmark weigh-pandoc type: exitcode-stdio-1.0 @@ -669,9 +692,21 @@ benchmark weigh-pandoc hs-source-dirs: prelude other-modules: Prelude build-depends: base-compat >= 0.9 - ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded default-language: Haskell2010 other-extensions: NoImplicitPrelude + ghc-options: -rtsopts -with-rtsopts=-K16m -threaded + -Wall -fno-warn-unused-do-bind + -Wincomplete-record-updates + -Wnoncanonical-monad-instances + -Wnoncanonical-monadfail-instances + if impl(ghc >= 8.2) + ghc-options: -Wcpp-undef + if impl(ghc >= 8.4) + ghc-options: -Wincomplete-uni-patterns + -Widentities + -Werror=missing-home-modules + -fhide-source-paths + test-suite test-pandoc type: exitcode-stdio-1.0 @@ -759,9 +794,21 @@ test-suite test-pandoc Tests.Writers.OOXML if os(windows) cpp-options: -D_WINDOWS - ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded default-language: Haskell2010 other-extensions: NoImplicitPrelude + ghc-options: -rtsopts -with-rtsopts=-K16m -threaded + -Wall -fno-warn-unused-do-bind + -Wincomplete-record-updates + -Wnoncanonical-monad-instances + -Wnoncanonical-monadfail-instances + if impl(ghc >= 8.2) + ghc-options: -Wcpp-undef + if impl(ghc >= 8.4) + ghc-options: -Wincomplete-uni-patterns + -Widentities + -Werror=missing-home-modules + -fhide-source-paths + benchmark benchmark-pandoc type: exitcode-stdio-1.0 @@ -777,6 +824,18 @@ benchmark benchmark-pandoc hs-source-dirs: prelude other-modules: Prelude build-depends: base-compat >= 0.9 - ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded default-language: Haskell2010 other-extensions: NoImplicitPrelude + ghc-options: -rtsopts -with-rtsopts=-K16m -threaded + -Wall -fno-warn-unused-do-bind + -Wincomplete-record-updates + -Wnoncanonical-monad-instances + -Wnoncanonical-monadfail-instances + if impl(ghc >= 8.2) + ghc-options: -Wcpp-undef + if impl(ghc >= 8.4) + ghc-options: -Wincomplete-uni-patterns + -Widentities + -Werror=missing-home-modules + -fhide-source-paths + |
