diff options
author | fergus.henderson@gmail.com <fergus.henderson@gmail.com@01de4be4-8c4a-0410-9132-4925637da917> | 2014-02-27 13:55:35 +0000 |
---|---|---|
committer | fergus.henderson@gmail.com <fergus.henderson@gmail.com@01de4be4-8c4a-0410-9132-4925637da917> | 2014-02-27 13:55:35 +0000 |
commit | 414577ee4707bf8b8a20665a330dc4a586aa45be (patch) | |
tree | a55b5bd86131522c384b227b545a6ced179f85fa | |
parent | 103c6bb0d4e6318302a53161746a1a92122d0a6e (diff) | |
download | distcc-414577ee4707bf8b8a20665a330dc4a586aa45be.tar.gz |
Handle '--coverage' like '-fprofile-arcs' and '-ftest-coverage':
fall back to compiling locally.
git-svn-id: http://distcc.googlecode.com/svn/trunk@784 01de4be4-8c4a-0410-9132-4925637da917
-rw-r--r-- | src/arg.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -205,7 +205,8 @@ int dcc_scan_args(char *argv[], char **input_file, char **output_file, } else if (!strcmp(a, "-S")) { seen_opt_s = 1; } else if (!strcmp(a, "-fprofile-arcs") - || !strcmp(a, "-ftest-coverage")) { + || !strcmp(a, "-ftest-coverage") + || !strcmp(a, "--coverage")) { rs_log_info("compiler will emit profile info; must be local"); return EXIT_DISTCC_FAILED; } else if (!strcmp(a, "-frepo")) { |