Commit daa4b7c1 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Remove dependency on rts for programs built in Stage0

parent 3ae4e1d0
...@@ -74,7 +74,7 @@ buildBinary rs context@Context {..} bin = do ...@@ -74,7 +74,7 @@ buildBinary rs context@Context {..} bin = do
then hsSources context then hsSources context
else do else do
needContext =<< contextDependencies context needContext =<< contextDependencies context
when (package == ghc) $ do when (stage > Stage0) $ do
ways <- interpretInContext context (getLibraryWays <> getRtsWays) ways <- interpretInContext context (getLibraryWays <> getRtsWays)
needContext [ rtsContext { way = w } | w <- ways ] needContext [ rtsContext { way = w } | w <- ways ]
let path = buildPath context let path = buildPath context
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment