Skip to content
Snippets Groups Projects
Commit dc698595 authored by Cheng Shao's avatar Cheng Shao
Browse files

hadrian: enable building stage1 haddock for cross ghc

This commit enables building stage1 haddock for cross ghc. Without
this change, hadrian would panic with "Unknown program" error when
building the _build/stage1/bin/cross-prefix-haddock program needed by
the docs-haddock target, even if it only needs to copy from
_build/stage0/bin/cross-prefix-haddock.

(cherry picked from commit 272eaef0)
parent 8a9f2c70
No related branches found
No related tags found
No related merge requests found
......@@ -156,6 +156,7 @@ stage1Packages = do
, ghcInternal
, ghcPkg
, ghcPrim
, haddock
, haskeline
, hp2ps
, hsc2hs
......@@ -174,8 +175,7 @@ stage1Packages = do
, if winTarget then win32 else unix
]
, when (not cross)
[ haddock
, hpcBin
[ hpcBin
, iserv
, runGhc
, ghcToolchainBin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment