forked from GitHub/gf-core
gf.cabal: don't enable warnings about unused imports by default
This commit is contained in:
8
gf.cabal
8
gf.cabal
@@ -99,7 +99,7 @@ Library
|
|||||||
else
|
else
|
||||||
build-depends: binary, data-binary-ieee754
|
build-depends: binary, data-binary-ieee754
|
||||||
|
|
||||||
ghc-options: -fwarn-unused-imports
|
--ghc-options: -fwarn-unused-imports
|
||||||
--if impl(ghc>=7.8)
|
--if impl(ghc>=7.8)
|
||||||
-- ghc-options: +RTS -A20M -RTS
|
-- ghc-options: +RTS -A20M -RTS
|
||||||
ghc-prof-options: -fprof-auto
|
ghc-prof-options: -fprof-auto
|
||||||
@@ -312,8 +312,7 @@ Library
|
|||||||
else
|
else
|
||||||
build-tools: happy, alex>=3
|
build-tools: happy, alex>=3
|
||||||
|
|
||||||
if impl(ghc>=7.10)
|
ghc-options: -fno-warn-tabs
|
||||||
ghc-options: -fno-warn-tabs
|
|
||||||
|
|
||||||
if os(windows)
|
if os(windows)
|
||||||
build-depends: Win32
|
build-depends: Win32
|
||||||
@@ -326,7 +325,8 @@ Executable gf
|
|||||||
main-is: gf-main.hs
|
main-is: gf-main.hs
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
build-depends: gf, base
|
build-depends: gf, base
|
||||||
ghc-options: -threaded -fwarn-unused-imports
|
ghc-options: -threaded
|
||||||
|
--ghc-options: -fwarn-unused-imports
|
||||||
|
|
||||||
if impl(ghc>=7.0)
|
if impl(ghc>=7.0)
|
||||||
ghc-options: -rtsopts -with-rtsopts=-I5
|
ghc-options: -rtsopts -with-rtsopts=-I5
|
||||||
|
|||||||
Reference in New Issue
Block a user