summaryrefslogtreecommitdiff
path: root/hadrian/src/Settings/Flavours/Common.hs
blob: cba0bcd9784e819db2e8237a9bc963537c59a1ed (plain)
1
2
3
4
5
6
7
8
9
10
11
module Settings.Flavours.Common where

import Expression

-- See https://gitlab.haskell.org/ghc/ghc/issues/15286 and
-- https://phabricator.haskell.org/D4880
naturalInBaseFixArgs :: Args
naturalInBaseFixArgs = mconcat
  [ input "**/Natural.hs" ? pure ["-fno-omit-interface-pragmas"]
  , input "**/Num.hs" ? pure ["-fno-ignore-interface-pragmas"]
  ]