summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/main/GhcMake.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/main/GhcMake.hs b/compiler/main/GhcMake.hs
index 0705b14962..0adee6e738 100644
--- a/compiler/main/GhcMake.hs
+++ b/compiler/main/GhcMake.hs
@@ -601,6 +601,11 @@ unload hsc_env stable_linkables -- Unload everthing *except* 'stable_linkables'
- Note that objects are only considered stable if they only depend
on other objects. We can't link object code against byte code.
+
+ - Note that even if an object is stable, we may end up recompiling
+ if the interface is out of date because an *external* interface
+ has changed. The current code in GhcMake handles this case
+ fairly poorly, so be careful.
-}
checkStability
:: HomePackageTable -- HPT from last compilation