diff options
| author | hallgren <hallgren@chalmers.se> | 2012-10-18 20:01:22 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2012-10-18 20:01:22 +0000 |
| commit | 584b6ba86d15e7ff471f94d2d120375ba3604553 (patch) | |
| tree | 09fa0850d6637108e0ce370ee55006dddb309025 /Setup.hs | |
| parent | 9a022a141ebcd0228cbc75aaadf32e7d1b84f207 (diff) | |
Use NOINLINE for build info and darcs version info
... to avoid unnecessary recompilation of other modules.
Diffstat (limited to 'Setup.hs')
| -rw-r--r-- | Setup.hs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -391,6 +391,7 @@ extractDarcsVersion distFlag = createDirectoryIfMissing True autogenPath updateFile versionModulePath $ unlines $ ["module "++modname++" where", + "{-# NOINLINE darcs_info #-}", "darcs_info = "++show (either (const (Left ())) Right info)] where dist = fromFlagOrDefault "dist" distFlag |
