summaryrefslogtreecommitdiff
path: root/ghc/ghc-bin.cabal.in
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/ghc-bin.cabal.in')
-rw-r--r--ghc/ghc-bin.cabal.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/ghc/ghc-bin.cabal.in b/ghc/ghc-bin.cabal.in
index cde0cbcb3e..3a1b4922f6 100644
--- a/ghc/ghc-bin.cabal.in
+++ b/ghc/ghc-bin.cabal.in
@@ -29,6 +29,11 @@ Flag threaded
Default: True
Manual: True
+Flag eventlog
+ Description: Link the ghc executable against the event-logging RTS
+ Default: True
+ Manual: True
+
Executable ghc
Default-Language: Haskell2010
@@ -91,7 +96,9 @@ Executable ghc
if flag(threaded)
ghc-options: -threaded
- ghc-options: -eventlog
+ -- Same for GhcEventLoggingRts
+ if flag(eventlog)
+ ghc-options: -eventlog
Other-Extensions:
CPP