]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
ccache can't handle test coverage
authorAndrew Tridgell <tridge@samba.org>
Wed, 28 Feb 2007 04:24:04 +0000 (05:24 +0100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 28 Feb 2007 04:24:04 +0000 (05:24 +0100)
ccache.c

index 06f3b4234f85d8f82b0dfa197f8a3f4ac4c0a6c1..d61baae68645081a2840bd082426831d55d17e79 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -644,6 +644,8 @@ static void process_args(int argc, char **argv)
 
                /* these are too hard */
                if (strcmp(argv[i], "-fbranch-probabilities")==0 ||
+                   strcmp(argv[i], "-coverage") == 0 ||
+                   strcmp(argv[i], "-ftest-coverage") == 0 ||
                    strcmp(argv[i], "-M") == 0 ||
                    strcmp(argv[i], "-MM") == 0 ||
                    strcmp(argv[i], "-x") == 0) {