Fix cabal/package/building warnings

pull/46/head
Lennart Spitzner 2017-08-03 22:24:06 +02:00
parent 494a06e2a8
commit 7962e196d5
1 changed files with 5 additions and 1 deletions

View File

@ -74,6 +74,7 @@ library {
-j -j
-fno-warn-unused-imports -fno-warn-unused-imports
-fno-warn-orphans -fno-warn-orphans
-fno-warn-redundant-constraints
} }
if flag(brittany-dev) { if flag(brittany-dev) {
ghc-options: -O0 -Werror -fobject-code ghc-options: -O0 -Werror -fobject-code
@ -136,7 +137,9 @@ executable brittany
buildable: True buildable: True
} }
main-is: Main.hs main-is: Main.hs
-- other-modules: other-modules: {
Paths_brittany
}
-- other-extensions: -- other-extensions:
build-depends: build-depends:
{ brittany { brittany
@ -196,6 +199,7 @@ executable brittany
-fno-spec-constr -fno-spec-constr
-fno-warn-unused-imports -fno-warn-unused-imports
-fno-warn-orphans -fno-warn-orphans
-fno-warn-redundant-constraints
-rtsopts -rtsopts
-with-rtsopts "-M2G" -with-rtsopts "-M2G"
} }