summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorBodigrim <andrew.lelechenko@gmail.com>2023-01-05 23:47:57 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-01-18 22:24:51 -0500
commit32ab07bf3d6ce45e8ea5b55e8095174a6b42a7f0 (patch)
treee96109da5044566825f9525927b34e84fbfa798f /hadrian
parenteb5a6b91e02b48f9171217743e3417cb33eb92e3 (diff)
downloadhaskell-32ab07bf3d6ce45e8ea5b55e8095174a6b42a7f0.tar.gz
ghc package does not have to depend on terminfo
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Rules/ToolArgs.hs2
-rw-r--r--hadrian/src/Settings/Packages.hs1
2 files changed, 1 insertions, 2 deletions
diff --git a/hadrian/src/Rules/ToolArgs.hs b/hadrian/src/Rules/ToolArgs.hs
index 37ffbd653f..ae586c7d0d 100644
--- a/hadrian/src/Rules/ToolArgs.hs
+++ b/hadrian/src/Rules/ToolArgs.hs
@@ -172,7 +172,7 @@ toolTargets = [ binary
, text
, transformers
, unlit -- # executable
- ] ++ if windowsHost then [ win32 ] else [ terminfo, unix ]
+ ] ++ if windowsHost then [ win32 ] else [ unix ]
-- | Create a mapping from files to which component it belongs to.
dirMap :: Action [(FilePath, (Package, [String]))]
diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs
index 128262a0ab..901ff10a09 100644
--- a/hadrian/src/Settings/Packages.hs
+++ b/hadrian/src/Settings/Packages.hs
@@ -89,7 +89,6 @@ packageArgs = do
, builder (Cabal Flags) ? mconcat
[ andM [expr ghcWithInterpreter, notStage0] `cabalFlag` "internal-interpreter"
- , notM cross `cabalFlag` "terminfo"
, ifM stage0
-- We build a threaded stage 1 if the bootstrapping compiler
-- supports it.