From 04f08c39ef7eee817298046b16f654ae1f18e955 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Thu, 7 Dec 2017 15:25:37 -0800
Subject: [PATCH] Add '-threaded' to ghc-options for executable.

---
 pandoc.cabal | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pandoc.cabal b/pandoc.cabal
index e3912d89c..95aef05ac 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -497,7 +497,7 @@ library
 
 executable pandoc
   build-depends: pandoc, base >= 4.7 && < 5
-  ghc-options:   -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
+  ghc-options:   -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -threaded
   ghc-prof-options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
   if flag(static)
     ld-options:     -static