summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@kolpackov.net>2009-10-22 14:29:22 +0000
committerBoris Kolpackov <boris@kolpackov.net>2009-10-22 14:29:22 +0000
commit131f1157301f3626eb014ef0a17bb4d52f1106dc (patch)
tree02040f0ddebc8eadb074862d4abbde7d94904d30 /read.c
parentb1d34394a841e43696aaee7f0b6062d5f7d0a41a (diff)
downloadgunmake-131f1157301f3626eb014ef0a17bb4d52f1106dc.tar.gz
Get the old behavior for a situation when no makefile is found in a directory.
Diffstat (limited to 'read.c')
-rw-r--r--read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read.c b/read.c
index aa27701..669a09c 100644
--- a/read.c
+++ b/read.c
@@ -269,7 +269,7 @@ read_all_makefiles (const char **makefiles)
{
struct dep *d = alloc_dep ();
d->file = enter_file (strcache_add (*p));
- d->file->dontcare = 1;
+ d->dontcare = 1;
/* Tell update_goal_chain to bail out as soon as this file is
made, and main not to die if we can't make this file. */
d->changed = RM_DONTCARE;