summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-12-11 15:41:17 +0000
committerPaul Smith <psmith@gnu.org>2005-12-11 15:41:17 +0000
commit3bcb608bdab1d3d24251548aac8bc33fc2fdad66 (patch)
tree9f5d9e31c96991d14c9774976873c32d2b467a72 /read.c
parent0e6c4f5b0ed4183bbdb8cdce168dcbd1bc9cf182 (diff)
downloadgunmake-3bcb608bdab1d3d24251548aac8bc33fc2fdad66.tar.gz
Extend .SECONDEXPANSION to implicit rules. Final fix for bug #13781.
Diffstat (limited to 'read.c')
-rw-r--r--read.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/read.c b/read.c
index 894bf6f..660b11a 100644
--- a/read.c
+++ b/read.c
@@ -2131,11 +2131,7 @@ record_files (struct nameseq *filenames, char *pattern, char *pattern_percent,
targets[target_idx] = 0;
target_percents[target_idx] = 0;
if (deps)
- {
- deps->need_2nd_expansion = second_expansion;
- /* We set this to indicate the prereq string hasn't been parsed. */
- deps->staticpattern = 1;
- }
+ deps->need_2nd_expansion = second_expansion;
create_pattern_rule (targets, target_percents, two_colon, deps, cmds, 1);
free ((char *) target_percents);
}