diff options
author | fergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917> | 2008-07-30 02:27:24 +0000 |
---|---|---|
committer | fergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917> | 2008-07-30 02:27:24 +0000 |
commit | 66b8e22f4576f3ca50ebbdfb1a5444c5e592a3a1 (patch) | |
tree | ccec26be7d4151c5be0050e015d3bd1f4bd2df9b | |
parent | 2dae1ae58e6d9a4b5723d2ea7e6847f39d30e094 (diff) | |
download | distcc-66b8e22f4576f3ca50ebbdfb1a5444c5e592a3a1.tar.gz |
Fix issue 13 <http://code.google.com/p/distcc/issues/detail?id=13>:
allow distcc to distribute commands that use "-MF<filename>"
rather than "-MF <filename>", and likewise for -MT and -MQ.
git-svn-id: http://distcc.googlecode.com/svn/trunk@568 01de4be4-8c4a-0410-9132-4925637da917
-rw-r--r-- | src/arg.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -167,8 +167,11 @@ int dcc_scan_args(char *argv[], char **input_file, char **output_file, * nothing by themselves. */ } else if (!strcmp(a, "-MF") || !strcmp(a, "-MT") || !strcmp(a, "-MQ")) { - /* as above but with extra argument */ + /* As above but with extra argument. */ i++; + } else if (!strncmp(a, "-MF", 3) || !strncmp(a, "-MT", 3) || + !strncmp(a, "-MQ", 3)) { + /* As above, without extra argument. */ } else if (a[1] == 'M') { /* -M(anything else) causes the preprocessor to produce a list of make-style dependencies on |