[ccache] permit ccache to build with clang
lists at eitanadler.com
Sat Sep 22 10:12:37 MDT 2012
On 22 September 2012 11:43, Joel Rosdahl <joel at rosdahl.net> wrote:
> On 18 September 2012 18:21, Eitan Adler <lists at eitanadler.com> wrote:
>> I needed the following patch for ccache to build with clang.
>> -all_cppflags = @DEFS@ @extra_cppflags@ -DSYSCONFDIR=$(sysconfdir) -I.
>> -I$(srcdir) $(CPPFLAGS)
> (Your patch doesn't apply since it's garbled. The above two lines
> should be one.)
Sorry about that. I think gmail auto-wraps at 80 characters :(
> So, I can't apply it. I think it's quite silly of clang to warn about
> unused -I options; it would be a hassle to add -I options potentially
> tailored for each source code file.
Clang is complaining about unused linker options during compilation.
It does not complain about unused -l options during the linking phase.
My patch is probably wrong. Is there a different way to make autoconf
only pass -l during the link stage?
More information about the ccache