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

hadrian: enable internal-interpreter for ghc-bin stage0

This commit enables internal-interpreter flag for ghc-bin even when
compiling stage0, as long as target supports ghci. It enables ghci
functionality for cross targets that support ghci, since cross ghc-bin
is really stage0.

(cherry picked from commit 577c1819)
parent e22ce58d
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,7 @@ packageArgs = do ...@@ -107,7 +107,7 @@ packageArgs = do
, compilerStageOption ghcDebugAssertions ? arg "-DDEBUG" ] , compilerStageOption ghcDebugAssertions ? arg "-DDEBUG" ]
, builder (Cabal Flags) ? mconcat , builder (Cabal Flags) ? mconcat
[ andM [expr ghcWithInterpreter, notStage0] `cabalFlag` "internal-interpreter" [ expr ghcWithInterpreter `cabalFlag` "internal-interpreter"
, ifM stage0 , ifM stage0
-- We build a threaded stage 1 if the bootstrapping compiler -- We build a threaded stage 1 if the bootstrapping compiler
-- supports it. -- supports it.
......
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