On Fri, Mar 5, 2010 at 7:49 PM, Joel Rosdahl <[email protected]> wrote: > The only reasonable way I see to tackle this is to avoid caching any source > code that has a string literal containing ".incbin". It would be easy to fool, > and there will be a few false positives, but maybe it's good enough. On the > other hand, I guess a very tiny part of ccache's users compile things with > ".incbin". Do you think it's worth the effort to try to detect this or is it > enough to just document it as limitation?
I agree that few users need .incbin. Documenting this limitation is a first step and may be enough. > (It would be easy to make a slightly better work-around available than setting > CCACHE_DISABLE, though: Introduce a CCACHE_EXTRA_FILES_TO_HASH variable > containing paths to files whose content ccache should include in the hash.) Thanks for this idea! Stefan _______________________________________________ ccache mailing list [email protected] https://lists.samba.org/mailman/listinfo/ccache
