]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
slightly nicer stats for STATS_LINK
authorAndrew Tridgell <tridge@samba.org>
Tue, 9 Apr 2002 12:21:19 +0000 (14:21 +0200)
committerAndrew Tridgell <tridge@samba.org>
Tue, 9 Apr 2002 12:21:19 +0000 (14:21 +0200)
ccache.c

index 9880170f32a35b6755a177a346f7b60d6299ee81..cc16e12fa73ba713c36b3c8af5a091e15fd239f8 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -575,6 +575,9 @@ static void process_args(int argc, char **argv)
                                cc_log("multiple input files (%s and %s)\n",
                                       input_file, argv[i]);
                                stats_update(STATS_MULTIPLE);
+                       } else if (!found_c_opt) {
+                               cc_log("called for link with %s\n", argv[i]);
+                               stats_update(STATS_LINK);
                        } else {
                                cc_log("non C/C++ file %s\n", argv[i]);
                                stats_update(STATS_NOTC);