diff options
author | Paul Smith <psmith@gnu.org> | 1999-09-22 05:57:52 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-09-22 05:57:52 +0000 |
commit | c828aeaa985fde7010af946d4a6592bd51989d12 (patch) | |
tree | 0af92c7df8be82e6f5f2ce94264a942e2b2c6c4d /main.c | |
parent | 3c83c469e43bb26203e2e11333df6fdfc5919a2a (diff) | |
download | gunmake-c828aeaa985fde7010af946d4a6592bd51989d12.tar.gz |
* Oops. Fix a problem running submakes like $(MAKE) $(MFLAGS).3.78
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1321,8 +1321,9 @@ int main (int argc, char ** argv) { char *cp; - if (jobserver_fds->idx > 1) - fatal (NILF, _("internal error: multiple --jobserver-fds options")); + for (i=1; i < jobserver_fds->idx; ++i) + if (!streq (jobserver_fds->list[0], jobserver_fds->list[i])) + fatal (NILF, _("internal error: multiple --jobserver-fds options")); /* Now parse the fds string and make sure it has the proper format. */ |