Skip to content
Snippets Groups Projects
Commit 272eaef0 authored by Cheng Shao's avatar Cheng Shao :beach: Committed by Marge Bot
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.
parent 64b0d4d0
No related branches found
No related tags found
No related merge requests found
...@@ -156,6 +156,7 @@ stage1Packages = do ...@@ -156,6 +156,7 @@ stage1Packages = do
, ghcInternal , ghcInternal
, ghcPkg , ghcPkg
, ghcPrim , ghcPrim
, haddock
, haskeline , haskeline
, hp2ps , hp2ps
, hsc2hs , hsc2hs
...@@ -174,8 +175,7 @@ stage1Packages = do ...@@ -174,8 +175,7 @@ stage1Packages = do
, if winTarget then win32 else unix , if winTarget then win32 else unix
] ]
, when (not cross) , when (not cross)
[ haddock [ hpcBin
, hpcBin
, iserv , iserv
, runGhc , runGhc
, ghcToolchainBin , 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