[commit: ghc] wip/nfs-locking: Add COMPONENT_ID field to rts package-data.mk (#22). (d3eef6d)
git at git.haskell.org
git at git.haskell.org
Fri Oct 27 00:21:43 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/d3eef6dc2e2c2ae8b6727f17b610bb058f45282d/ghc
>---------------------------------------------------------------
commit d3eef6dc2e2c2ae8b6727f17b610bb058f45282d
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Sun Jan 3 01:11:16 2016 +0000
Add COMPONENT_ID field to rts package-data.mk (#22).
>---------------------------------------------------------------
d3eef6dc2e2c2ae8b6727f17b610bb058f45282d
src/Rules/Data.hs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/Rules/Data.hs b/src/Rules/Data.hs
index c2a186f..b24bb85 100644
--- a/src/Rules/Data.hs
+++ b/src/Rules/Data.hs
@@ -87,7 +87,8 @@ buildPackageData rs target @ (PartialTarget stage pkg) = do
includes <- interpretPartial target $ fromDiffExpr includesArgs
let contents = unlines $ map (prefix++)
[ "C_SRCS = " ++ unwords (cSrcs ++ cmmSrcs ++ extraSrcs)
- , "CC_OPTS = " ++ unwords includes ]
+ , "CC_OPTS = " ++ unwords includes
+ , "COMPONENT_ID = " ++ "rts" ]
writeFileChanged mk contents
putSuccess $ "| Successfully generated '" ++ mk ++ "'."
More information about the ghc-commits
mailing list