Re: Trouble sharing cache results when compiling with -isystem instead of -I

Robert Houghton <[email protected]> Sat, 5 Sep 2015 14:46:30 -0700
Newsgroups gmane.comp.compilers.ccache
Message-ID <CADSoFLWfM4pMk_eUoO6BVefwUvPjb5VUsjCfxLdw+LZsLxc7zA@mail.gmail.com>
OK.  I'm working on  a patch to support - isystemfoo
On Sep 5, 2015 13:40, "Joel Rosdahl" <[email protected]> wrote:

> Robert Houghton wrote:
> > Is looks like ccache v3.2.1 will not use the CCACHE_BASEDIR option when
> > considering paths provided by -isystem. Is this intentional, an
> oversight,
> > or a bug?
>
> ccache does recognize -isystem, but only when used like "-isystem foo",
> not in the form "-isystemfoo" (it's news to me that GCC accepts that
> strange variant)... So try adding a space.
>
> -- Joel
>
>