diff options
author | Boris Kolpackov <boris@kolpackov.net> | 2005-12-09 16:46:19 +0000 |
---|---|---|
committer | Boris Kolpackov <boris@kolpackov.net> | 2005-12-09 16:46:19 +0000 |
commit | 0e6c4f5b0ed4183bbdb8cdce168dcbd1bc9cf182 (patch) | |
tree | 5b601d66155fc716b66fc98b420f9125bd348fd0 /implicit.c | |
parent | a34b85490d26a9064f892e43b8c6fa8005a7c770 (diff) | |
download | gunmake-0e6c4f5b0ed4183bbdb8cdce168dcbd1bc9cf182.tar.gz |
Fixed bug #13022 by setting is_target flag on files that this implicit
pattern rule also makes.
Diffstat (limited to 'implicit.c')
-rw-r--r-- | implicit.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -928,6 +928,11 @@ pattern_search (struct file *file, int archive, if (f && f->precious) new->file->precious = 1; + /* Set the is_target flag so that this file is not treated + as intermediate by the pattern rule search algorithm and + file_exists_p cannot pick it up yet. */ + new->file->is_target = 1; + file->also_make = new; } |