Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1575 from depressed-pho/threaded-flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleidukos authored Jan 22, 2023
2 parents 1b905c1 + 75a94e0 commit 78cd1da
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion haddock.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,18 @@ flag in-ghc-tree
default: False
manual: True

flag threaded
description: Build haddock with the threaded RTS
default: True
manual: True

executable haddock
default-language: Haskell2010
main-is: Main.hs
hs-source-dirs: driver
ghc-options: -funbox-strict-fields -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -O2 -threaded
ghc-options: -funbox-strict-fields -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -O2
if flag(threaded)
ghc-options: -threaded

-- haddock typically only supports a single GHC major version
build-depends:
Expand Down

0 comments on commit 78cd1da

Please sign in to comment.