git.iko.soy/typeable/pandoc
on master help sign in
Make the -fno-warn-unused-do-bind conditional on ghc >= 6.12.
9c54354fiddlosopher
pandoc.cabal+8−2
@@ -194,7 +194,10 @@ Library
194 Other-Modules: Text.Pandoc.XML,
194 Other-Modules: Text.Pandoc.XML,
195 Paths_pandoc
195 Paths_pandoc
196 Extensions: CPP
196 Extensions: CPP
197+ if impl(ghc >= 6.12)
197− Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
198+ Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
199+ else
200+ Ghc-Options: -O2 -Wall
198 Ghc-Prof-Options: -auto-all -caf-all
201 Ghc-Prof-Options: -auto-all -caf-all
199
202
200 if flag(library)
203 if flag(library)
@@ -205,7 +208,10 @@ Library
205Executable pandoc
208Executable pandoc
206 Hs-Source-Dirs: src
209 Hs-Source-Dirs: src
207 Main-Is: pandoc.hs
210 Main-Is: pandoc.hs
211+ if impl(ghc >= 6.12)
208− Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -threaded
212+ Ghc-Options: -O2 -Wall -threaded -fno-warn-unused-do-bind
213+ else
214+ Ghc-Options: -O2 -Wall -threaded
209 Ghc-Prof-Options: -auto-all -caf-all
215 Ghc-Prof-Options: -auto-all -caf-all
210 Extensions: CPP
216 Extensions: CPP
211
217