From: Joel Rosdahl Date: Sun, 1 Nov 2009 18:46:41 +0000 (+0100) Subject: Bail out on --coverage and -fprofile-arcs X-Git-Tag: v3.0pre0~176 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75b02657dcec8a8136143a8dd8bf64aaeda9e8cd;p=thirdparty%2Fccache.git Bail out on --coverage and -fprofile-arcs --- diff --git a/ccache.c b/ccache.c index c5805df4e..02cca11de 100644 --- a/ccache.c +++ b/ccache.c @@ -676,8 +676,9 @@ static void process_args(int argc, char **argv) } /* these are too hard */ - if (strcmp(argv[i], "-fbranch-probabilities")==0 || - strcmp(argv[i], "-coverage") == 0 || + if (strcmp(argv[i], "-fbranch-probabilities") == 0 || + strcmp(argv[i], "--coverage") == 0 || + strcmp(argv[i], "-fprofile-arcs") == 0 || strcmp(argv[i], "-ftest-coverage") == 0 || strcmp(argv[i], "-M") == 0 || strcmp(argv[i], "-MM") == 0 ||