Fix cabal/package/building warnings
parent
494a06e2a8
commit
7962e196d5
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue