Add a -fbuilding-cabal-package flag
authorIan Lynagh <igloo@earth.li>
Sun, 26 Jul 2009 18:19:34 +0000 (18:19 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 26 Jul 2009 18:19:34 +0000 (18:19 +0000)
commit7026ce88b5c7753fe5c3d4164c02c9de58bf6979
tree43ab53793733357287183a4641f7d179bee181e7
parente5b79a6988880d8757634683eefe2f03e45cdfc6
Add a -fbuilding-cabal-package flag
This means GHC knows whether it's building a Cabal package, or just
Haskell sources. For example, it may wish to give different error
messages when building a Cabal package.
compiler/main/DynFlags.hs