diff options
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r-- | compiler/ghc.cabal.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index d4a1dc3c6e..5c9d88f8cc 100644 --- a/compiler/ghc.cabal.in +++ b/compiler/ghc.cabal.in @@ -45,6 +45,11 @@ Flag terminfo Default: True Manual: True +Flag integer-gmp + Description: Use integer-gmp + Manual: True + Default: False + Library Default-Language: Haskell2010 Exposed: False @@ -84,6 +89,11 @@ Library CPP-Options: -DGHCI Include-Dirs: ../rts/dist/build @FFIIncludeDir@ + -- gmp internals are used by the GHCi debugger if available + if flag(integer-gmp) + CPP-Options: -DINTEGER_GMP + build-depends: integer-gmp >= 1.0.2 + Other-Extensions: BangPatterns CPP |