summaryrefslogtreecommitdiff
path: root/hadrian/src/Settings/Builders/Ghc.hs
diff options
context:
space:
mode:
authorDouglas Wilson <douglas.wilson@gmail.com>2021-12-19 11:41:59 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-04-28 18:54:44 -0400
commit654bafea5bd4a1ce82af440c90f5fa38ac532503 (patch)
treea2c400863c21bc0eb2178c5b84f499e2438babfe /hadrian/src/Settings/Builders/Ghc.hs
parentc7a3dc292a7ee7d1639955b6343b0d3c755c7248 (diff)
downloadhaskell-654bafea5bd4a1ce82af440c90f5fa38ac532503.tar.gz
hadrian: Enrich flavours to build profiled/debugged/threaded ghcs per stage
Diffstat (limited to 'hadrian/src/Settings/Builders/Ghc.hs')
-rw-r--r--hadrian/src/Settings/Builders/Ghc.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Settings/Builders/Ghc.hs b/hadrian/src/Settings/Builders/Ghc.hs
index 9dd481d7fe..47ac5f0ed9 100644
--- a/hadrian/src/Settings/Builders/Ghc.hs
+++ b/hadrian/src/Settings/Builders/Ghc.hs
@@ -115,7 +115,7 @@ ghcLinkArgs = builder (Ghc LinkHs) ? do
useSystemFfi <- expr (flag UseSystemFfi)
buildPath <- getBuildPath
libffiName' <- libffiName
- debugged <- ghcDebugged <$> expr flavour
+ debugged <- ghcDebugged <$> expr flavour <*> getStage
osxTarget <- expr isOsxTarget
winTarget <- expr isWinTarget