Skip to content

Commit

Permalink
Added conditional for -fno-warn-unused-do-bind, which is new in ghc
Browse files Browse the repository at this point in the history
6.12.
  • Loading branch information
mightybyte committed Apr 21, 2010
1 parent 38599de commit e5862f2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions snap-core.cabal
Expand Up @@ -39,7 +39,6 @@ cabal-version: >= 1.6
homepage: http://snapframework.com/
category: Web


Library
hs-source-dirs: src

Expand Down Expand Up @@ -76,8 +75,11 @@ Library
unix,
zlib

ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
-fno-warn-unused-do-bind
if impl(ghc >= 6.12.0)
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
-fno-warn-unused-do-bind
else
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2

source-repository head
type: git
Expand Down

0 comments on commit e5862f2

Please sign in to comment.