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

Fix missing generated dependencies for rts, see #123.

parent b54121d1
......@@ -104,9 +104,8 @@ buildPackageData rs target @ (PartialTarget stage pkg) = do
fullTarget target (GhcPkg stage) [rtsConf] []
rtsConf %> \_ -> do
need [ rtsConfIn
, "includes/ghcautoconf.h"
, "includes/ghcplatform.h" ]
orderOnly $ generatedDependencies stage pkg
need [ rtsConfIn ]
build $ fullTarget target HsCpp [rtsConfIn] [rtsConf]
let fixRtsConf = unlines
......
......@@ -76,7 +76,7 @@ generatedDependencies :: Stage -> Package -> [FilePath]
generatedDependencies stage pkg
| pkg == compiler = compilerDependencies stage
| pkg == ghcPrim = ghcPrimDependencies stage
| pkg == rts = derivedConstantsDependencies
| pkg == rts = includesDependencies ++ derivedConstantsDependencies
| stage == Stage0 = defaultDependencies
| otherwise = []
......
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