git.iko.soy/typeable/pandoc
on master help sign in
Make the -fno-warn-unused-do-bind conditional on ghc >= 6.12.

This option isn't recognized by older ghcs. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1753 788f1e2b-df1e-0410-8736-df70ead52e1b

commit9c54354cd74dd960c3a6b5c920e52dce89c4f2fe authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateThu 31 Dec 2009, 16:48 (17 years ago) parent9c48ee2
1 file changed+8−2
pandoc.cabal+8−2
pandoc.cabal+8−2
@@ -194,7 +194,10 @@ Library
194194 Other-Modules: Text.Pandoc.XML,
195195 Paths_pandoc
196196 Extensions: CPP
197− Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
197+ if impl(ghc >= 6.12)
198+ Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
199+ else
200+ Ghc-Options: -O2 -Wall
198201 Ghc-Prof-Options: -auto-all -caf-all
199202
200203 if flag(library)
@@ -205,7 +208,10 @@ Library
205208Executable pandoc
206209 Hs-Source-Dirs: src
207210 Main-Is: pandoc.hs
208− Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -threaded
211+ if impl(ghc >= 6.12)
212+ Ghc-Options: -O2 -Wall -threaded -fno-warn-unused-do-bind
213+ else
214+ Ghc-Options: -O2 -Wall -threaded
209215 Ghc-Prof-Options: -auto-all -caf-all
210216 Extensions: CPP
211217