diff options
author | Paul Smith <psmith@gnu.org> | 2009-06-13 23:10:52 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2009-06-13 23:10:52 +0000 |
commit | dceb954f9c0a948b8d53796fd78b7cfae9148b1b (patch) | |
tree | 99906d4dae8d094097f37927affa603e498510b1 /read.c | |
parent | 38b23bc3f02ec199370865be9bd970e6318fa1d2 (diff) | |
download | gunmake-dceb954f9c0a948b8d53796fd78b7cfae9148b1b.tar.gz |
- Fix Savannah bug #13401
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -857,8 +857,10 @@ eval (struct ebuffer *ebuf, int set_default) free (files); files = next; - r = eval_makefile (name, (RM_INCLUDED | RM_NO_TILDE - | (noerror ? RM_DONTCARE : 0))); + r = eval_makefile (name, + (RM_INCLUDED | RM_NO_TILDE + | (noerror ? RM_DONTCARE : 0) + | (set_default ? 0 : RM_NO_DEFAULT_GOAL))); if (!r && !noerror) error (fstart, "%s: %s", name, strerror (errno)); } |