@@ -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