mirror of
https://github.com/mirror/make.git
synced 2026-08-30 19:27:57 +08:00
- Rework secondary expansion so we only defer it if there's a possibility
it might be needed: for most situations we parse prereqs immediately as we used to. Reduces memory usage. - Fixes Savannah bug #18622.
This commit is contained in:
@@ -355,7 +355,7 @@ string_glob (char *line)
|
||||
struct nameseq *chain;
|
||||
unsigned int idx;
|
||||
|
||||
chain = parse_file_seq (&line, sizeof (struct nameseq), '\0', NULL,
|
||||
chain = PARSE_FILE_SEQ (&line, struct nameseq, '\0', NULL,
|
||||
/* We do not want parse_file_seq to strip `./'s.
|
||||
That would break examples like:
|
||||
$(patsubst ./%.c,obj/%.o,$(wildcard ./?*.c)). */
|
||||
|
||||
Reference in New Issue
Block a user