summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2012-09-10 02:36:05 +0000
committerPaul Smith <psmith@gnu.org>2012-09-10 02:36:05 +0000
commit70936bd1772b0ab73fc199b67467dae4c9fff786 (patch)
treed68ac63b3992c85f9c80110bcc8a6d11ad4c47ca /remake.c
parentd1e1c89f3ef5e4d0631c2e58da323a5328ba32be (diff)
downloadmake-70936bd1772b0ab73fc199b67467dae4c9fff786.tar.gz
Force intermediate targets to be considered if their non-intermediate
parent needs to be remade. Fixes Savannah bug #30653.
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/remake.c b/remake.c
index c0bf709d..b1ddd239 100644
--- a/remake.c
+++ b/remake.c
@@ -612,6 +612,10 @@ update_file_1 (struct file *file, unsigned int depth)
d->file->dontcare = file->dontcare;
}
+ /* We may have already considered this file, when we didn't know
+ we'd need to update it. Force update_file() to consider it and
+ not prune it. */
+ d->file->considered = !considered;
dep_status |= update_file (d->file, depth);