summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfergus.henderson@gmail.com <fergus.henderson@gmail.com@01de4be4-8c4a-0410-9132-4925637da917>2014-02-27 13:55:35 +0000
committerfergus.henderson@gmail.com <fergus.henderson@gmail.com@01de4be4-8c4a-0410-9132-4925637da917>2014-02-27 13:55:35 +0000
commit414577ee4707bf8b8a20665a330dc4a586aa45be (patch)
treea55b5bd86131522c384b227b545a6ced179f85fa
parent103c6bb0d4e6318302a53161746a1a92122d0a6e (diff)
downloaddistcc-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arg.c b/src/arg.c
index 1b0dbae..0e7644e 100644
--- a/src/arg.c
+++ b/src/arg.c
@@ -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")) {