Permalink
Browse files

Made use of -fno-warn-unused-do-bind conditional on ghc >= 6.12.

  • Loading branch information...
1 parent 5a99d1f commit 3454b87724f9670fa79a8d16414af08e78852ebe John MacFarlane committed Jan 1, 2010
Showing with 4 additions and 2 deletions.
  1. +0 −1 Yst/Data.hs
  2. +4 −1 yst.cabal
View
@@ -1,5 +1,4 @@
{-# LANGUAGE FlexibleContexts #-}
-{-# OPTIONS_GHC -fno-warn-unused-do-bind #-}
{-
Copyright (C) 2009 John MacFarlane <jgm@berkeley.edu>
View
@@ -52,5 +52,8 @@ Executable yst
old-locale, old-time, parsec, xhtml, pandoc, bytestring,
split
extensions: CPP
- ghc-options: -Wall -threaded -fno-warn-orphans
+ if impl(ghc >= 6.12)
+ ghc-options: -Wall -threaded -fno-warn-orphans -fno-warn-unused-do-bind
+ else
+ ghc-options: -Wall -threaded -fno-warn-orphans
ghc-prof-options: -auto-all -caf-all

0 comments on commit 3454b87

Please sign in to comment.