Commit 1329a948 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Add includesDependencies to primops.txt rule.

Fix #201.
parent 0cf18c98
...@@ -134,7 +134,7 @@ generatePackageCode _ target @ (PartialTarget stage pkg) = ...@@ -134,7 +134,7 @@ generatePackageCode _ target @ (PartialTarget stage pkg) =
-- TODO: needing platformH is ugly and fragile -- TODO: needing platformH is ugly and fragile
when (pkg == compiler) $ primopsTxt stage %> \file -> do when (pkg == compiler) $ primopsTxt stage %> \file -> do
need [platformH stage, primopsSource] need $ [platformH stage, primopsSource] ++ includesDependencies
build $ fullTarget target HsCpp [primopsSource] [file] build $ fullTarget target HsCpp [primopsSource] [file]
-- TODO: why different folders for generated files? -- TODO: why different folders for generated files?
......
Supports Markdown
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