summaryrefslogtreecommitdiff
path: root/compiler/ghc.cabal.in
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-03-05 11:17:46 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-11 20:33:37 -0400
commit8e6febcee4b91a88a5027baac4bee5a8847fe79b (patch)
tree52e17447417df5f410ea4e571ea5df7ead752bb8 /compiler/ghc.cabal.in
parent3aa9b35fcc417ab39d8da633482fe64dc9f898b1 (diff)
downloadhaskell-8e6febcee4b91a88a5027baac4bee5a8847fe79b.tar.gz
Refactor GHC.Driver.Session (Ways and Flags)
* extract flags and ways into their own modules (with some renaming) * remove one SOURCE import of GHC.Driver.Session from GHC.Driver.Phases * when GHC uses dynamic linking (WayDyn), `interpWays` was only reporting WayDyn even if the host was profiled (WayProf). Now it returns both as expected (might fix #16803). * `mkBuildTag :: [Way] -> String` wasn't reporting a canonical tag for differently ordered lists. Now we sort and nub the list to fix this.
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r--compiler/ghc.cabal.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index f027a234e2..0cc41b65c0 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -203,6 +203,8 @@ Library
FieldLabel
GHC.Driver.Monad
GHC.Driver.Hooks
+ GHC.Driver.Flags
+ GHC.Driver.Ways
Id
IdInfo
Predicate