Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 78744 Details for
Bug 121336
ccache doesn't notice when split-specs compilers are switched
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Adds contents of specs files listed in GCC_SPECS to the hash.
ccache-gcc_specs.patch (text/plain), 831 bytes, created by
Kevin F. Quinn (RETIRED)
on 2006-02-02 11:39:46 UTC
(
hide
)
Description:
Adds contents of specs files listed in GCC_SPECS to the hash.
Filename:
MIME Type:
Creator:
Kevin F. Quinn (RETIRED)
Created:
2006-02-02 11:39:46 UTC
Size:
831 bytes
patch
obsolete
>--- ccache-2.4/ccache.c.orig 2006-02-02 20:41:33.000000000 +0100 >+++ ccache-2.4/ccache.c 2006-02-02 20:41:46.000000000 +0100 >@@ -261,6 +261,7 @@ > int nlevels = 2; > char *input_base; > char *tmp; >+ char *spec; > > if ((s = getenv("CCACHE_NLEVELS"))) { > nlevels = atoi(s); >@@ -343,6 +344,21 @@ > } > } > >+ /* possibly hash Gentoo GCC_SPECS entries. Note; does not add the >+ compiler directory so only handles fully-specified paths >+ 2006-02-02 kevquinn@gentoo.org */ >+ if ((s = getenv("GCC_SPECS"))) { >+ if (strlen(s)>0) { >+ for (spec=strtok_r(s,":",&tmp); >+ spec!=NULL; >+ spec=strtok_r(NULL,":",&tmp)) { >+ if (stat(spec, &st) == 0) { >+ hash_file(spec); >+ } >+ } >+ } >+ } >+ > /* ~/hello.c -> tmp.hello.123.i > limit the basename to 10 > characters in order to cope with filesystem with small
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 121336
:
78744
|
78754