Skip to content

Commit

Permalink
Merge pull request #6 from luite/workaround-ghc-7960
Browse files Browse the repository at this point in the history
disable automatic cost centre generation for older GHC
  • Loading branch information
hamishmack authored Feb 25, 2018
2 parents 3340355 + 7156ca0 commit 853dd90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jsaddle-dom.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ source-repository head
location: https://github.com/ghcjs/jsaddle-dom

library
-- workaround for older GHC choking the C compiler with cost centre
-- declarations (GHC trac #7960)
if impl(ghc < 8.4)
ghc-prof-options: -fno-prof-auto

if impl(ghcjs -any)
build-depends:
Expand Down

0 comments on commit 853dd90

Please sign in to comment.