[ccache] ccache - -frepo

Martin Pool mbp at samba.org
Wed Oct 8 15:39:34 EST 2003


On  1 Oct 2003, andrew <andrew.slater at discus.anu.edu.au> wrote:
> Hi,
> 
> Should ccache always ignore compiles with (g++) -frepo, since object
> files might have to be rebuilt at link time, due to c++ template object
> code placement?  I bypassed caching for -frepo'd source files so my
> template stuff would compile.

Yes, I think it should.


> 
> :)
> andrew
> 
> diff -Naur ccache-2.3/ccache.c ccache-2.3-nofrepo/ccache.c
> +++ ccache-2.3-nofrepo/ccache.c 2003-10-01 14:06:12.000000000 +1000
> @@ -630,6 +630,7 @@
>   
>                 /* these are too hard */
>                 if (strcmp(argv[i], "-fbranch-probabilities")==0 ||
> +                   strcmp(argv[i], "-frepo") == 0 ||
>                     strcmp(argv[i], "-M") == 0 ||
>                     strcmp(argv[i], "-MM") == 0 ||
>                     strcmp(argv[i], "-x") == 0) {
> 
> 
> 
> _______________________________________________
> ccache mailing list
> ccache at lists.samba.org
> http://lists.samba.org/mailman/listinfo/ccache
-- 
Martin 



More information about the ccache mailing list