summaryrefslogtreecommitdiff
path: root/hadrian/src/Settings/Flavours/Common.hs
blob: 054633ffe2f612cc4e62ef66b3dde95518f24a56 (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"]
  ]