diff --git a/brittany.cabal b/brittany.cabal index 84c4225..bfba1dc 100644 --- a/brittany.cabal +++ b/brittany.cabal @@ -32,11 +32,6 @@ source-repository head { location: https://github.com/lspitzner/brittany.git } -flag brittany-dev - description: dev options - default: False - manual: True - flag brittany-dev-lib description: set buildable false for anything but lib default: False @@ -83,9 +78,6 @@ library { -fno-warn-unused-imports -fno-warn-redundant-constraints } - if flag(brittany-dev) { - ghc-options: -O0 -Werror -fobject-code - } build-depends: { base >=4.9 && <4.11 , ghc >=8.0.1 && <8.3 @@ -206,14 +198,6 @@ executable brittany -rtsopts -with-rtsopts "-M2G" } - if flag(brittany-dev) { - ghc-options: - -O0 - -Werror - -fobject-code - -fprof-auto - -fprof-cafs - } test-suite unittests if flag(brittany-dev-lib) { @@ -282,9 +266,6 @@ test-suite unittests -rtsopts -with-rtsopts "-M2G" } - if flag(brittany-dev) { - ghc-options: -O0 -Werror -fobject-code - } test-suite littests if flag(brittany-dev-lib) { @@ -354,9 +335,6 @@ test-suite littests -rtsopts -with-rtsopts "-M2G" } - if flag(brittany-dev) { - ghc-options: -O0 -Werror -fobject-code - } test-suite libinterfacetests if flag(brittany-dev-lib) {